[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
Mon Nov 28 00:35:36 PST 2022


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

Use opcode to get div 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.478141.patch
Type: text/x-patch
Size: 30483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/43e8090e/attachment.bin>


More information about the llvm-commits mailing list