We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957171f commit 1489021Copy full SHA for 1489021
1 file changed
llvm/lib/CodeGen/PseudoProbeInserter.cpp
@@ -55,7 +55,7 @@ class PseudoProbeInserter : public MachineFunctionPass {
55
for (MachineBasicBlock &MBB : MF) {
56
MachineInstr *FirstInstr = nullptr;
57
for (MachineInstr &MI : MBB) {
58
- if (!MI.isPseudo())
+ if (!MI.isPseudo() || MI.isCall())
59
FirstInstr = &MI;
60
if (MI.isCall()) {
61
if (DILocation *DL = MI.getDebugLoc()) {
0 commit comments