[PATCH] D137949: [RISCV] Branchless lowering for (select (x < 0), TrueConstant, FalseConstant) and (select (x >= 0), TrueConstant, FalseConstant)
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 17:35:05 PST 2022
liaolucy added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:9652
+ }
+ std::swap(TrueSImm, FalseSImm);
+ }
----------------
reames wrote:
> craig.topper wrote:
> > Was this supposed to be TrueV and FalseV?
> That's what I read it as... good catch!
Sorry, I've been a bit confused lately.
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