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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 10:12:17 PST 2024


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

It's an additional legality table because the single type based legality rules are insufficient for compares. It's the same as setting expand / custom / promote, except for the specific condition code and type 

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


More information about the llvm-commits mailing list