Skip to content

Commit b6db6f5

Browse files
committed
[CSSPGO] Exclude pseudo probe from slotindex verification.
1 parent e6eaacb commit b6db6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/MachineVerifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ void MachineVerifier::visitMachineInstrBefore(const MachineInstr *MI) {
16511651
// Other instructions must have one, unless they are inside a bundle.
16521652
if (LiveInts) {
16531653
bool mapped = !LiveInts->isNotInMIMap(*MI);
1654-
if (MI->isDebugInstr()) {
1654+
if (MI->isDebugOrPseudoInstr()) {
16551655
if (mapped)
16561656
report("Debug instruction has a slot index", MI);
16571657
} else if (MI->isInsideBundle()) {

0 commit comments

Comments
 (0)