Files
clang-p2996/llvm/test/CodeGen/RISCV
LiaoChunyu b6ea46fe72 [RISCV] Add DAG combine to fold (sub 0, (setcc x, 0, setlt)) -> (sra x , xlen - 1)
The result of sub + setcc is 0 or 1 for all bits.
The sra instruction get the same result.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D147538
2023-04-07 08:59:28 +08:00
..
2023-03-29 20:55:51 +01:00
2023-03-21 18:52:05 -07:00
2023-03-21 18:52:05 -07:00
2023-03-23 12:32:25 +00:00