summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/switch.c
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-01-24 11:54:29 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-01-24 11:54:29 +0000
commit8381475a7511c17e046bf25b53185a4d109df467 (patch)
treea2d8f331cb2d9943e09310a1434cfdc90d5b9e93 /clang/test/CodeGen/switch.c
parent9dea5cdb8ed79adcf44ca6200689cc5467d4ecf2 (diff)
downloadbcm5719-llvm-8381475a7511c17e046bf25b53185a4d109df467.tar.gz
bcm5719-llvm-8381475a7511c17e046bf25b53185a4d109df467.zip
[DAG] Fix wrong canonicalization performed on shuffle nodes.
This fixes a regression introduced by r226816. When replacing a splat shuffle node with a constant build_vector, make sure that the new build_vector has a valid number of elements. Thanks to Patrik Hagglund for reporting this problem and providing a small reproducible. llvm-svn: 227002
Diffstat (limited to 'clang/test/CodeGen/switch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud