[PATCH] D94628: [RISCV] Add implementation of targetShrinkDemandeConstant to optimize AND immediates.

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:51:10 PST 2021


frasercrmck added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1871
+bool
+RISCVTargetLowering::targetShrinkDemandedConstant(SDValue Op,
+                                                const APInt &DemandedBits,
----------------
As the linter above suggests, this code formatting looks off.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94628/new/

https://reviews.llvm.org/D94628



More information about the llvm-commits mailing list