Skip to content

Commit 84fe000

Browse files
rovkaarsenm
andauthored
Update llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent aff1e13 commit 84fe000

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,10 +990,10 @@ static bool addCallTargetOperands(MachineInstrBuilder &CallInst,
990990
LLT::pointer(GV->getAddressSpace(), 64), GV);
991991
CallInst.addReg(Ptr.getReg(0));
992992

993-
if (IsDynamicVGPRChainCall)
993+
if (IsDynamicVGPRChainCall) {
994994
// DynamicVGPR chain calls are always indirect.
995995
CallInst.addImm(0);
996-
else
996+
} else
997997
CallInst.add(Info.Callee);
998998
} else
999999
return false;

0 commit comments

Comments
 (0)