Skip to content

Commit b8d352a

Browse files
committed
[RISCV] Reset NoPHIS MachineFunctionProperty in emitSelectPseudo
We insered PHIS were there were none before, so the property must be reset. This error was found on an EXPENSIVE_CHECKS build. llvm-svn: 366412
1 parent 0ffa833 commit b8d352a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,6 +1308,7 @@ static MachineBasicBlock *emitSelectPseudo(MachineInstr &MI,
13081308
SelectMBBI = Next;
13091309
}
13101310

1311+
F->getProperties().reset(MachineFunctionProperties::Property::NoPHIs);
13111312
return TailMBB;
13121313
}
13131314

0 commit comments

Comments
 (0)