aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-12-15 09:32:03 -0500
committerSanjay Patel <spatel@rotateright.com>2019-12-15 09:32:03 -0500
commit6080387f136af5a51bbc310abb08c7158d7cd9d2 (patch)
tree1ccdd02183bb684d7fb2e99249ff8e5e870875a2 /llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
parent2afe86411847b3305915f536256b8bb877d8a356 (diff)
downloadllvm-6080387f136af5a51bbc310abb08c7158d7cd9d2.zip
llvm-6080387f136af5a51bbc310abb08c7158d7cd9d2.tar.gz
llvm-6080387f136af5a51bbc310abb08c7158d7cd9d2.tar.bz2
[InstSimplify] fold splat of inserted constant to vector constant
shuf (inselt ?, C, IndexC), undef, <IndexC, IndexC...> --> <C, C...> This is another missing shuffle fold pattern uncovered by the shuffle correctness fix from D70246. The problem was visible in the post-commit thread example, but we managed to overcome the limitation for that particular case with D71220. This is something like the inverse of the previous fix - there we didn't demand the inserted scalar, and here we are only demanding an inserted scalar. Differential Revision: https://reviews.llvm.org/D71488
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions