summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-01-14 13:17:12 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-01-14 13:17:12 +0000
commit5448a3c7717efab65f173070be6ce8270deb548e (patch)
treef5a7c331328f80e5b2105b38e670bbcfb7caed8f /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent56cc5c92dbc3b878643b0c1793102bbb6459e50c (diff)
downloadbcm5719-llvm-5448a3c7717efab65f173070be6ce8270deb548e.tar.gz
bcm5719-llvm-5448a3c7717efab65f173070be6ce8270deb548e.zip
[X86] Fix assertion failure caused by a wrong folding of vector shifts by immediate count.
This fixes a regression intruced by r198113. Revision r198113 introduced an algorithm that tries to fold a vector shift by immediate count into a build_vector if the input vector is a known vector of constants. However the algorithm only worked under the assumption that the input vector type and the shift type are exactly the same. This patch disables the folding of vector shift by immediate count if the input vector type and the shift value type are not the same. llvm-svn: 199213
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud