[PATCH] D137949: [RISCV] Branchless lowering for (select (x < 0), TrueConstant, FalseConstant) and (select (x >= 0), TrueConstant, FalseConstant)

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 09:19:54 PST 2022


reames added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9652
+      }
+      std::swap(TrueSImm, FalseSImm);
+    }
----------------
craig.topper wrote:
> Was this supposed to be TrueV and FalseV?
That's what I read it as... good catch!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137949/new/

https://reviews.llvm.org/D137949



More information about the llvm-commits mailing list