Skip to content

Commit 735b3b0

Browse files
committed
[NVPTX]: Fix NVPTXReplaceImageHandles after f9c8c01
1 parent 01bbdd1 commit 735b3b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,8 @@ findIndexForHandle(MachineOperand &Op, MachineFunction &MF, unsigned &Idx) {
18091809
MachineInstr &TexHandleDef = *MRI.getVRegDef(Op.getReg());
18101810

18111811
switch (TexHandleDef.getOpcode()) {
1812+
case NVPTX::LD_i64_asi:
1813+
case NVPTX::LD_i64_areg_64:
18121814
case NVPTX::LD_i64_avar: {
18131815
// The handle is a parameter value being loaded, replace with the
18141816
// parameter symbol

0 commit comments

Comments
 (0)