diff options
author | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2024-01-09 21:01:48 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 21:01:48 +0530 |
commit | db1d9ad109d8e0f17acb2de60c8b57085fe2de77 (patch) | |
tree | 74258eb02cbe8240caf6cfe76663dc0216918b4a /llvm/unittests/MI | |
parent | e9ac2dc68d0b0578a5c1a98b4e083d133c1d7b2b (diff) | |
download | llvm-db1d9ad109d8e0f17acb2de60c8b57085fe2de77.zip llvm-db1d9ad109d8e0f17acb2de60c8b57085fe2de77.tar.gz llvm-db1d9ad109d8e0f17acb2de60c8b57085fe2de77.tar.bz2 |
[llvm/unittests] Reset the IsSSA property when using finalizeBundle() (#77469)
Diffstat (limited to 'llvm/unittests/MI')
-rw-r--r-- | llvm/unittests/MI/LiveIntervalTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp index 1fd1c78..edc4baa 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); |