Skip to content

Commit e4cb9df

Browse files
committed
Don't legalize atomics
Change-Id: I970b2a8e2cf6c8627889ac37b3e990bcddbc70ec
1 parent 064f02d commit e4cb9df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2775,6 +2775,7 @@ bool SIMemoryLegalizer::expandAtomicFence(const SIMemOpInfo &MOI,
27752775

27762776
bool SIMemoryLegalizer::expandAtomicCmpxchgOrRmw(const SIMemOpInfo &MOI,
27772777
MachineBasicBlock::iterator &MI) {
2778+
return false;
27782779
assert(MI->mayLoad() && MI->mayStore());
27792780

27802781
bool Changed = false;

0 commit comments

Comments
 (0)