[PATCH] D128911: Emit table lookup from TargetLowering::expandCTTZ()
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 08:31:13 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:7986
+ Align Alignment = cast<ConstantPoolSDNode>(CPIdx)->getAlign();
+ SDValue Load = DAG.getLoad(
+ VT, dl, DAG.getEntryNode(),
----------------
gsocshubham wrote:
> craig.topper wrote:
> > What happens if you always create a zextload even if the type isn't legal?
> There is no change in generated code nor in LIT test failures as it was originally submitted earlier.
A zext load with i8 memVT?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128911/new/
https://reviews.llvm.org/D128911
More information about the llvm-commits
mailing list