[all-commits] [llvm/llvm-project] d2c093: [CostModel][X86] Add i64 mul cost for avx512 as 1cy
HaohaiWen via All-commits
all-commits at lists.llvm.org
Tue Dec 7 19:40:28 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2c093e79d146f837ce0117f9b331e9e4508d2cf
https://github.com/llvm/llvm-project/commit/d2c093e79d146f837ce0117f9b331e9e4508d2cf
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-fix.ll
M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
M llvm/test/Analysis/CostModel/X86/arith.ll
M llvm/test/Analysis/CostModel/X86/mul.ll
M llvm/test/Analysis/CostModel/X86/rem.ll
Log Message:
-----------
[CostModel][X86] Add i64 mul cost for avx512 as 1cy
i64 mul cost is 1cy for all cpu that support avx512. Currently
all X86 cpu uses i64 mul cost in X64 cost table which is not
true for cpu that support avx512 (skx, icx).
Reviewed By: pengfei, RKSimon
Differential Revision: https://reviews.llvm.org/D115016
More information about the All-commits
mailing list