[llvm] [llvm/unittests] Reset the IsSSA property when using finalizeBundle() (PR #77469)

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 08:29:29 PST 2024


================
@@ -156,6 +156,7 @@ static void testHandleMoveIntoNewBundle(MachineFunction &MF, LiveIntervals &LIS,
 
   // Build bundle
   finalizeBundle(MBB, I, std::next(ToInstr.getIterator()));
+  MF.getProperties().reset(MachineFunctionProperties::Property::IsSSA);
----------------
cdevadas wrote:

I guess @yashssh ran into a similar situation once and was trying to fix the default isSSA property assumed by MIRParser. Wasn't that ever landed?

https://github.com/llvm/llvm-project/pull/77469


More information about the llvm-commits mailing list