[PATCH] D115922: [RISCV] Override hasAndNotCompare to use more andn when have Zbb extension.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 19 22:27:53 PST 2021
jacquesguan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1180
+bool RISCVTargetLowering::hasAndNot(SDValue Y) const {
+ return hasAndNotCompare(Y);
+}
----------------
jrtc27 wrote:
> This is the default implementation
Done
================
Comment at: llvm/test/CodeGen/RISCV/rv32zbb-zbp.ll:561
+
+
+define i1 @andn_seqz_i32(i32 %a, i32 %b) nounwind {
----------------
jrtc27 wrote:
> Don't put double blank lines in
Done
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115922/new/
https://reviews.llvm.org/D115922
More information about the llvm-commits
mailing list