[PATCH] D140208: [AMDGPU] Improved wide multiplies
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 16 05:27:15 PST 2022
arsenm added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h:85-87
+ LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI,
+ GISelChangeObserver &Observer, MachineIRBuilder &B,
+ GISelKnownBits *KB);
----------------
Can you pre-commit the change to add GISelKnown bits to the legalizer
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:108-120
LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI,
GISelChangeObserver &Observer,
MachineIRBuilder &B)
: MIRBuilder(B), Observer(Observer), MRI(MF.getRegInfo()), LI(LI),
TLI(*MF.getSubtarget().getTargetLowering()) { }
+LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI,
----------------
Don't need both constructors, just the one with default argument
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140208/new/
https://reviews.llvm.org/D140208
More information about the llvm-commits
mailing list