summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-03-05 17:14:04 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-03-05 17:14:04 +0000
commit7189084bef9b3d17039afbfd582dbc93fe14af55 (patch)
treea09d06a02172d58824c02a73310e3bbdae05e80c /openmp/runtime/src
parentcffbbe92f1ef95091e9982acba6b06f33d413909 (diff)
downloadbcm5719-llvm-7189084bef9b3d17039afbfd582dbc93fe14af55.tar.gz
bcm5719-llvm-7189084bef9b3d17039afbfd582dbc93fe14af55.zip
[DagCombiner] Allow shuffles to merge through bitcasts
Currently shuffles may only be combined if they are of the same type, despite the fact that bitcasts are often introduced in between shuffle nodes (e.g. x86 shuffle type widening). This patch allows a single input shuffle to peek through bitcasts and if the input is another shuffle will merge them, shuffling using the smallest sized type, and re-applying the bitcasts at the inputs and output instead. Dropped old ShuffleToZext test - this patch removes the use of the zext and vector-zext.ll covers these anyhow. Differential Revision: http://reviews.llvm.org/D7939 llvm-svn: 231380
Diffstat (limited to 'openmp/runtime/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud