aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-07 18:01:55 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-06-08 10:41:03 +0100
commit49d3a367c0376a95b9518e90426cdd6d5508e64a (patch)
tree25b05aeaac5e030e6261ffb6fa6b9b557a062080 /llvm/lib/CodeGen/CommandFlags.cpp
parent596004a94748e427ff59956e74d8ed4eb0e109d4 (diff)
downloadllvm-49d3a367c0376a95b9518e90426cdd6d5508e64a.zip
llvm-49d3a367c0376a95b9518e90426cdd6d5508e64a.tar.gz
llvm-49d3a367c0376a95b9518e90426cdd6d5508e64a.tar.bz2
[CostModel][X86] Improve AVX1/AVX2 truncation costs
Based off the worse case numbers generated by D103695, we were overestimating the cost of a number of vector truncations: AVX2: v2i32->v2i8, v2i64->v2i16 + v4i64->v4i32 AVX1: v2i32->v2i8, v4i64->v4i16 + v16i16->v16i8 Once we have a working set of conversion costs, the intention is to cleanup the tables and use legalized types a lot more to reduce the number of entries we currently have.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions