diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-03-12 11:46:22 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-03-12 11:50:10 -0800 |
commit | 51151828acad6b1e5b0719285ce7172506877fd1 (patch) | |
tree | 3d0ab3cddd7be7cb0343b5642f61ef27dd8d3939 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 4f9cc1512d51af607f469669f859309765b1ceee (diff) | |
download | llvm-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