[all-commits] [llvm/llvm-project] cb353d: [LV] Add cost model for simd vector select instruc...
Allen via All-commits
all-commits at lists.llvm.org
Mon Jun 19 22:14:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb353dc74e72b084d54d10515fbc289cc19a2023
https://github.com/llvm/llvm-project/commit/cb353dc74e72b084d54d10515fbc289cc19a2023
Author: Zhongyunde <zhongyunde at huawei.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll
M llvm/test/Analysis/CostModel/AArch64/select.ll
M llvm/test/Analysis/CostModel/AArch64/vector-select.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/hoisting-sinking-required-for-vectorization.ll
Log Message:
-----------
[LV] Add cost model for simd vector select instructions of type float
For simd vector selects, use cmeq + bsl for v2f32/v4f32/v2f64, so their cost are cheep.
Fix https://github.com/llvm/llvm-project/issues/63082
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D152523
More information about the All-commits
mailing list