[PATCH] D118256: [AArch64] Fix costs of float vector compare/selects pairs.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 08:41:06 PST 2022


fhahn created this revision.
fhahn added reviewers: dmgreen, ab, t.p.northover, samparker.
Herald added subscribers: hiraditya, kristof.beyls.
fhahn requested review of this revision.
Herald added a project: LLVM.

The current cost-model overestimates the cost of vector compares &
selects for ordered floating point compares. This patch fixes that by
extending the existing logic for integer predicates.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118256

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/vector-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118256.403286.patch
Type: text/x-patch
Size: 18086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/f06434a7/attachment.bin>


More information about the llvm-commits mailing list