aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-03-12 11:46:22 -0800
committerCraig Topper <craig.topper@sifive.com>2021-03-12 11:50:10 -0800
commit51151828acad6b1e5b0719285ce7172506877fd1 (patch)
tree3d0ab3cddd7be7cb0343b5642f61ef27dd8d3939 /clang/lib/CodeGen/CodeGenFunction.cpp
parent4f9cc1512d51af607f469669f859309765b1ceee (diff)
downloadllvm-51151828acad6b1e5b0719285ce7172506877fd1.zip
llvm-51151828acad6b1e5b0719285ce7172506877fd1.tar.gz
llvm-51151828acad6b1e5b0719285ce7172506877fd1.tar.bz2
[RISCV] Teach normaliseSetCC to canonicalize X > -1 to X >= 0 and X < 1 to 0 >= X.
This allows the use of BGE with X0 instead of puting -1/1 in a register. Reviewed By: jrtc27 Differential Revision: https://reviews.llvm.org/D98542
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions