Skip to content

Commit 75d66f8

Browse files
committed
AMDGPU/GlobalISel: Select llvm.amdcn.struct.tbuffer.load
1 parent 2d0b29e commit 75d66f8

File tree

3 files changed

+532
-0
lines changed

3 files changed

+532
-0
lines changed

llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,6 +2698,7 @@ bool AMDGPULegalizerInfo::legalizeIntrinsic(MachineInstr &MI,
26982698
case Intrinsic::amdgcn_struct_buffer_load_format:
26992699
return legalizeBufferLoad(MI, MRI, B, true, false);
27002700
case Intrinsic::amdgcn_raw_tbuffer_load:
2701+
case Intrinsic::amdgcn_struct_tbuffer_load:
27012702
return legalizeBufferLoad(MI, MRI, B, true, true);
27022703
case Intrinsic::amdgcn_atomic_inc:
27032704
return legalizeAtomicIncDec(MI, B, true);

0 commit comments

Comments
 (0)