[all-commits] [llvm/llvm-project] 59b9e6: [X86] Update costs for truncates from less than 12...
topperc via All-commits
all-commits at lists.llvm.org
Tue Apr 28 11:36:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 59b9e6fe7626da03b1146b0f5ad19753cc829de8
https://github.com/llvm/llvm-project/commit/59b9e6fe7626da03b1146b0f5ad19753cc829de8
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-04-28 (Tue, 28 Apr 2020)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll
M llvm/test/Analysis/CostModel/X86/trunc.ll
Log Message:
-----------
[X86] Update costs for truncates from less than 128-bit vectors to vXi1 on pre-avx512 targets
vXi1 types are legalized by promoting, but the narrow vectors
are legalized by widening. This results in some truncates turning
into any_extends.
More information about the All-commits
mailing list