[PATCH] D102854: [RISCV] Optimize or/xor with immediate in the zbs extension
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 10:39:07 PDT 2021
jrtc27 added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rv32zbs.ll:801
+; This should not be optimized since bit 12 of 6145 is set.
+define i32 @xor_i32_6145(i32 %a) nounwind {
----------------
Everything should always be optimised, but you mean a specific optimisation doesn't apply
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102854/new/
https://reviews.llvm.org/D102854
More information about the llvm-commits
mailing list