diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-05-05 19:34:10 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-05-05 19:34:10 +0000 |
commit | 9958c489bb85708438fa66b1c0e2c2c1c5d73424 (patch) | |
tree | 8cab65a5dfe7f65e304ec7647e2277731d8050cf /clang/lib/Driver/Tools.cpp | |
parent | af2c618e2bc63ede1f79229bcd8d8f9d29e04eee (diff) | |
download | bcm5719-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