[llvm] [DAGCombiner][RISCV] Prefer to sext i32 non-negative values (PR #65984)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 16 04:56:37 PDT 2023


dtcxzyw wrote:

Diff: https://github.com/llvm/llvm-project/compare/main...dtcxzyw:llvm-project:zext-to-sext
Evaluation result: https://github.com/dtcxzyw/llvm-ci/pull/627

It seems better to sext a non-negative value on riscv64. But this change broke some regression tests.


https://github.com/llvm/llvm-project/pull/65984


More information about the llvm-commits mailing list