[PATCH] D95432: AMDGPU/GlobalISel: Combine uniform icmp with select

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 08:10:26 PST 2021


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp:86
+    MachineInstr &MI, UniformICmpSelectMatchInfo &MatchInfo) {
+  MachineInstr &ICMP = *MRI.getVRegDef(MatchInfo.ICmpReg);
+  B.setInstrAndDebugLoc(MI);
----------------
Can you call the variable ICmp instead of ICMP?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95432/new/

https://reviews.llvm.org/D95432



More information about the llvm-commits mailing list