[all-commits] [llvm/llvm-project] 649cf4: [AArch64] Expand the SVE min/max reduction costs t...
David Green via All-commits
all-commits at lists.llvm.org
Thu Aug 5 15:23:42 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 649cf4514dd32e0e7944f6f8d82a1b72c87a2870
https://github.com/llvm/llvm-project/commit/649cf4514dd32e0e7944f6f8d82a1b72c87a2870
Author: David Green <david.green at arm.com>
Date: 2021-08-05 (Thu, 05 Aug 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll
M llvm/test/Analysis/CostModel/AArch64/vector-reduce.ll
Log Message:
-----------
[AArch64] Expand the SVE min/max reduction costs to NEON
This takes the existing SVE costing for the various min/max reduction
intrinsics and expands it to NEON, where I believe it applies equally
well.
In the process it changes the lowering to use min/max cost, as opposed
to summing up the cost of ICmp+Select.
Differential Revision: https://reviews.llvm.org/D106239
More information about the All-commits
mailing list