[llvm] db1d9ad - [llvm/unittests] Reset the IsSSA property when using finalizeBundle() (#77469)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 07:31:51 PST 2024
Author: Sameer Sahasrabuddhe
Date: 2024-01-09T21:01:48+05:30
New Revision: db1d9ad109d8e0f17acb2de60c8b57085fe2de77
URL: https://github.com/llvm/llvm-project/commit/db1d9ad109d8e0f17acb2de60c8b57085fe2de77
DIFF: https://github.com/llvm/llvm-project/commit/db1d9ad109d8e0f17acb2de60c8b57085fe2de77.diff
LOG: [llvm/unittests] Reset the IsSSA property when using finalizeBundle() (#77469)
Added:
Modified:
llvm/unittests/MI/LiveIntervalTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp
index 1fd1c78a5e55df..edc4baa6bfeca2 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);
More information about the llvm-commits
mailing list