[PATCH] D22198: AMDGPU: Do not clobber SCC in SIWholeQuadMode

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 10:04:31 PDT 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/SIWholeQuadMode.cpp:424
@@ +423,3 @@
+  // coalescing or be lowered to SALU or VALU instructions.
+  if (TargetInstrInfo::isGenericOpcode(MI.getOpcode())) {
+    if (MI.getNumExplicitOperands() >= 1) {
----------------
MI.isTransient() might be more accurate. INLINEASM for example will not be removed


https://reviews.llvm.org/D22198





More information about the llvm-commits mailing list