[PATCH] D112469: [LegalizeTypes][TargetLowering] Merge getShiftAmountTyForConstant into TargetLowering::getShiftAmountTy.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 10:34:58 PDT 2021


craig.topper updated this revision to Diff 382044.
craig.topper added a comment.

Use MVT instead of EVT in getShiftAmountTy. Should make getSizeInBits() cheaper.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112469

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112469.382044.patch
Type: text/x-patch
Size: 6286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/dde0a209/attachment.bin>


More information about the llvm-commits mailing list