[llvm] [NVPTX] Teach NVPTX about predicates (PR #67468)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 03:03:06 PDT 2024
================
@@ -58,12 +58,16 @@ void NVPTXFrameLowering::emitPrologue(MachineFunction &MF,
MBBI = BuildMI(MBB, MBBI, dl,
MF.getSubtarget().getInstrInfo()->get(CvtaLocalOpcode),
NRI->getFrameRegister(MF))
- .addReg(NRI->getFrameLocalRegister(MF));
+ .addReg(NRI->getFrameLocalRegister(MF))
+ .addReg(0)
----------------
frasercrmck wrote:
This should be `NVPTX::NoRegister` in any place we're adding the `0` register.
https://github.com/llvm/llvm-project/pull/67468
More information about the llvm-commits
mailing list