[PATCH] D135514: [RISCV] Add isel pattern for (setne/eq (sext_inreg GPR), 0) to remove sext_inreg
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 8 10:08:03 PDT 2022
craig.topper added a comment.
This isn’t correct. For example if rs is 0x8000000000000000, it’s not 0. But sext_inreg of 0x8000000000000000 is 0.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135514/new/
https://reviews.llvm.org/D135514
More information about the llvm-commits
mailing list