summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2024-01-09 21:01:48 +0530
committerGitHub <noreply@github.com>2024-01-09 21:01:48 +0530
commitdb1d9ad109d8e0f17acb2de60c8b57085fe2de77 (patch)
tree74258eb02cbe8240caf6cfe76663dc0216918b4a
parente9ac2dc68d0b0578a5c1a98b4e083d133c1d7b2b (diff)
[llvm/unittests] Reset the IsSSA property when using finalizeBundle() (#77469)
-rw-r--r--llvm/unittests/MI/LiveIntervalTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp
index 1fd1c78a5e55..edc4baa6bfec 100644
--- a/llvm/unittests/MI/LiveIntervalTest.cpp
+++ b/llvm/unittests/MI/LiveIntervalTest.cpp
@@ -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);
// Update LiveIntervals
MachineBasicBlock::instr_iterator BundleStart = std::prev(I);