[llvm] [NVPTX] Rework and cleanup FTZ ISel (PR #146410)

Princeton Ferro via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 10:32:57 PDT 2025


================
@@ -397,45 +403,29 @@ static unsigned getPTXCmpMode(const CondCodeSDNode &CondCode, bool FTZ) {
       return CmpMode::LEU;
     case ISD::SETUNE:
       return CmpMode::NEU;
----------------
Prince781 wrote:

Given how you've defined `CmpMode` in terms of SDNode opcodes, couldn't you just return the opcode for these cases?

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


More information about the llvm-commits mailing list