[all-commits] [llvm/llvm-project] fbace9: [RISCV] Enable preferZeroCompareBranch to optimize...
Liao Chunyu via All-commits
all-commits at lists.llvm.org
Mon Feb 27 22:43:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbace954089013c925d51421a59fac6ddb5ef97a
https://github.com/llvm/llvm-project/commit/fbace954089013c925d51421a59fac6ddb5ef97a
Author: LiaoChunyu <chunyu at iscas.ac.cn>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/test/CodeGen/RISCV/branch-on-zero.ll
Log Message:
-----------
[RISCV] Enable preferZeroCompareBranch to optimize branch on zero in codegenprepare
Similar to ARM and SystemZ.
Related Patchs: D101778(preferZeroCompareBranch)
https://reviews.llvm.org/rG9a9421a461166482465e786a46f8cced63cd2e9f ( == 0 to u< 1)
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D142071
More information about the All-commits
mailing list