diff options
| author | Craig Topper <craig.topper@sifive.com> | 2022-03-02 09:47:24 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2022-03-02 09:47:26 -0800 |
| commit | 324c0a72061e8337a62f9af1ffc5bf6f59b8340c (patch) | |
| tree | fb584e9facb6ec8f8fee80ca75ad5eebe8248037 /llvm/lib/Transforms/Utils/LoopPeel.cpp | |
| parent | a1f8349d770f7fc84e6109e6b398c42707506fd9 (diff) | |
| download | llvm-324c0a72061e8337a62f9af1ffc5bf6f59b8340c.zip llvm-324c0a72061e8337a62f9af1ffc5bf6f59b8340c.tar.gz llvm-324c0a72061e8337a62f9af1ffc5bf6f59b8340c.tar.bz2 | |
[SelectionDAG][RISCV] Emit a canonical sign bit test from ExpandIntRes_ABS.
Instead of emitting 0 > Hi, emit Hi < 0. If Hi needs to be expanded again
this will allow the special case for sign bit tests in ExpandIntOp_SETCC
to trigger.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D120761
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopPeel.cpp')
0 files changed, 0 insertions, 0 deletions
