aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ReachingDefAnalysis.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-04-07 14:45:16 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-04-07 14:45:29 +0100
commite3b60597769f79a8abc19fb8ef1f321d9adc1358 (patch)
tree6c8f1d22d99c0e74fe5c8e5eb39a86058addfe6f /llvm/lib/CodeGen/ReachingDefAnalysis.cpp
parent6b3353e832940e9484bba7b8017b8ea1f0c63806 (diff)
downloadllvm-e3b60597769f79a8abc19fb8ef1f321d9adc1358.zip
llvm-e3b60597769f79a8abc19fb8ef1f321d9adc1358.tar.gz
llvm-e3b60597769f79a8abc19fb8ef1f321d9adc1358.tar.bz2
[X86][SSE] combineX86ShufflesConstants - early out for zeroable vectors (PR45443)
Shuffle combining can insert zero byte sized elements into the shuffle mask, which combineX86ShufflesConstants will attempt to fold without taking into account whether the byte-sized type is legal (e.g. AVX512F only targets). If we have a full-zeroable vector then we should just return a zero version of the root type, otherwise if the type isn't valid we should bail. Fixes PR45443
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions