[llvm] [NVPTX] Fix lowering of i1 SETCC (PR #115035)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 10:10:37 PST 2024


================
@@ -2666,6 +2667,46 @@ SDValue NVPTXTargetLowering::LowerShiftLeftParts(SDValue Op,
   }
 }
 
+// Lowers SETCC nodes that aren't directly supported by our arch.
----------------
AlexMaclean wrote:

@arsenm Can you please explain a little further how I can use setCondCodeAction to avoid all of this?

https://github.com/llvm/llvm-project/pull/115035


More information about the llvm-commits mailing list