summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/load-scalar-as-vector.ll
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-11-26 14:35:38 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-11-26 14:35:38 +0000
commit2447baff848ec8bcb74575ed686a776fbfd1b8cc (patch)
tree2c2cef2df65d557105947cb8e3581cbfda22fffb /llvm/test/CodeGen/X86/load-scalar-as-vector.ll
parent72c5fcf088a95a8e2ff9eda94d0e182618fbc4d1 (diff)
downloadbcm5719-llvm-2447baff848ec8bcb74575ed686a776fbfd1b8cc.tar.gz
bcm5719-llvm-2447baff848ec8bcb74575ed686a776fbfd1b8cc.zip
[PowerPC] Vector load/store builtins overstate alignment of pointers
A number of builtins in altivec.h load/store vectors from pointers to scalar types. Currently they just cast the pointer to a vector pointer, but expressions like that have the alignment of the target type. Of course, the input pointer did not have that alignment so this triggers UBSan (and rightly so). This resolves https://bugs.llvm.org/show_bug.cgi?id=39704 Differential revision: https://reviews.llvm.org/D54787 llvm-svn: 347556
Diffstat (limited to 'llvm/test/CodeGen/X86/load-scalar-as-vector.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud