[PATCH] D135991: [AArch64] Fix cost model for `udiv` instruction when one of the operands is a uniform constant

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 04:50:13 PDT 2022


zjaffal updated this revision to Diff 471125.
zjaffal added a comment.

Move the code block to make sure that vectors are fixed size. 
Update the cost model to use insert and extract cost


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135991

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/div.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135991.471125.patch
Type: text/x-patch
Size: 31265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/abffa561/attachment.bin>


More information about the llvm-commits mailing list