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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 05:32:27 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);
----------------
arsenm wrote:

Right, which is buggy. It tries to guess but I think the MIR parser needs an explicit IsSSA property. 

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


More information about the llvm-commits mailing list