[llvm] r366412 - [RISCV] Reset NoPHIS MachineFunctionProperty in emitSelectPseudo
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 00:52:42 PDT 2019
Author: asb
Date: Thu Jul 18 00:52:41 2019
New Revision: 366412
URL: http://llvm.org/viewvc/llvm-project?rev=366412&view=rev
Log:
[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.
Modified:
llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
Modified: llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp?rev=366412&r1=366411&r2=366412&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/RISCVISelLowering.cpp Thu Jul 18 00:52:41 2019
@@ -1308,6 +1308,7 @@ static MachineBasicBlock *emitSelectPseu
SelectMBBI = Next;
}
+ F->getProperties().reset(MachineFunctionProperties::Property::NoPHIs);
return TailMBB;
}
More information about the llvm-commits
mailing list