[PATCH] D124096: [RISCV] Use default promotion for (i32 (shl 1, X)) on RV64 when Zbs is enabled.
LiqinWeng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 19:51:18 PDT 2022
Miss_Grape added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:6893
+ if (N->getOpcode() == ISD::SHL && Subtarget.hasStdExtZbs() &&
+ isOneConstant(N->getOperand(0)))
+ break;
----------------
clang-format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124096/new/
https://reviews.llvm.org/D124096
More information about the llvm-commits
mailing list