summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-05-05 19:34:10 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-05-05 19:34:10 +0000
commit9958c489bb85708438fa66b1c0e2c2c1c5d73424 (patch)
tree8cab65a5dfe7f65e304ec7647e2277731d8050cf /clang/lib/Driver/Tools.cpp
parentaf2c618e2bc63ede1f79229bcd8d8f9d29e04eee (diff)
downloadbcm5719-llvm-9958c489bb85708438fa66b1c0e2c2c1c5d73424.tar.gz
bcm5719-llvm-9958c489bb85708438fa66b1c0e2c2c1c5d73424.zip
[DAGCombiner] Account for getVectorIdxTy() when narrowing vector load
This patch makes ReplaceExtractVectorEltOfLoadWithNarrowedLoad convert the element number from getVectorIdxTy() to PtrTy before doing pointer arithmetic on it. This is needed on z, where element numbers are i32 but pointers are i64. Original patch by Richard Sandiford. llvm-svn: 236530
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud