[PATCH] D122454: [RISCV] (and (not (srl X, C)), 1) to (sltiu (andi X, 2 << C), 1) when Zbs extension disable
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 21:55:27 PDT 2022
craig.topper added a comment.
I just put up an alternative that gets the same codegen https://reviews.llvm.org/D122458 I did not limit to cases where Zbs is disabled. It needs more testing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122454/new/
https://reviews.llvm.org/D122454
More information about the llvm-commits
mailing list