[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
Tue Nov 8 06:02:59 PST 2022


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

Use scalar div cost + 4 to calcuate uniform costant division 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.473975.patch
Type: text/x-patch
Size: 31538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221108/15ed6c2e/attachment-0001.bin>


More information about the llvm-commits mailing list