[all-commits] [llvm/llvm-project] 4d425f: [PowerPC] vector cost model add cost to extract i1
RolandF77 via All-commits
all-commits at lists.llvm.org
Mon Aug 14 14:04:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d425f86632fc2a7142d2ba1c8d67a19c620d355
https://github.com/llvm/llvm-project/commit/4d425f86632fc2a7142d2ba1c8d67a19c620d355
Author: Roland Froese <froese at ca.ibm.com>
Date: 2023-08-14 (Mon, 14 Aug 2023)
Changed paths:
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/PowerPC/reduce-and.ll
M llvm/test/Analysis/CostModel/PowerPC/reduce-or.ll
A llvm/test/Transforms/LoopVectorize/PowerPC/predcost.ll
Log Message:
-----------
[PowerPC] vector cost model add cost to extract i1
Try to avoid some unprofitable predication on PPC. Recognize in the cost model that computing on i1 values will require extra mask or compare operation.
Differential Revision: https://reviews.llvm.org/D155876
More information about the All-commits
mailing list