Skip to content

Commit 1a082a2

Browse files
committed
[AMDGPU] Extend getMemOperandAACheckLimit
1 parent 5cdb757 commit 1a082a2

File tree

2 files changed

+318
-323
lines changed

2 files changed

+318
-323
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
440440
bool foldImmediate(MachineInstr &UseMI, MachineInstr &DefMI, Register Reg,
441441
MachineRegisterInfo *MRI) const final;
442442

443+
unsigned getMemOperandAACheckLimit() const override { return 32; }
444+
443445
unsigned getMachineCSELookAheadLimit() const override { return 500; }
444446

445447
MachineInstr *convertToThreeAddress(MachineInstr &MI, LiveVariables *LV,

0 commit comments

Comments
 (0)