[PATCH] D13086: AMDGPU: Optimize VOP2 operand legalization

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 19:01:39 PDT 2015


tstellarAMD added inline comments.

================
Comment at: lib/Target/AMDGPU/SIInstrInfo.cpp:1766
@@ +1765,3 @@
+  // violate the one constant bus use rule.
+  bool HasImplicitSGPR = findImplicitSGPRRead(*MI) != AMDGPU::NoRegister;
+  if (HasImplicitSGPR) {
----------------
Which patch adds this function?


http://reviews.llvm.org/D13086





More information about the llvm-commits mailing list