[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:36:45 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:
By buggy I mean assume SSA by default runs into these sorts of issues. Tests have a definite SSAness which it gets wrong. You could just as well clear this before finalizeBundle
https://github.com/llvm/llvm-project/pull/77469
More information about the llvm-commits
mailing list