diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2016-09-13 13:17:42 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2016-09-13 13:17:42 +0000 |
commit | 3647a96a44c456e9302eee5812efb73c882565d2 (patch) | |
tree | d5ae812e7c71a288ad1f1356abe56ea573406797 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 61683a22cb2a0606336f2bac691bb20758c669c9 (diff) | |
download | llvm-3647a96a44c456e9302eee5812efb73c882565d2.zip llvm-3647a96a44c456e9302eee5812efb73c882565d2.tar.gz llvm-3647a96a44c456e9302eee5812efb73c882565d2.tar.bz2 |
[InstSimplify] Add tests to show missed bitcast folding opportunities.
InstSimplify doesn't always know how to fold a bitcast of a constant vector.
In particular, the logic in InstSimplify doesn't know how to handle the case
where the constant vector in input contains some undef elements, and the
number of elements is smaller than the number of elements of the bitcast
vector type.
llvm-svn: 281332
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions