Skip to content

Commit 9de9d3e

Browse files
arsenmmemfrob
authored andcommitted
AMDGPU: Clear IsSSA property in SIFormMemoryClauses
Fixes verifier error when writing MIR testcases
1 parent 9daf077 commit 9de9d3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ class SIFormMemoryClauses : public MachineFunctionPass {
5353
MachineFunctionPass::getAnalysisUsage(AU);
5454
}
5555

56+
MachineFunctionProperties getClearedProperties() const override {
57+
return MachineFunctionProperties().set(
58+
MachineFunctionProperties::Property::IsSSA);
59+
}
60+
5661
private:
5762
template <typename Callable>
5863
void forAllLanes(Register Reg, LaneBitmask LaneMask, Callable Func) const;

0 commit comments

Comments
 (0)