diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-01-04 03:31:22 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-01-04 03:31:22 +0000 |
| commit | 3f44479adb5467f04197be2835e576f54250c0c9 (patch) | |
| tree | cacaca7d161901e8e598342d60d2cae42ece61a7 /lib/CodeGen/CGExpr.cpp | |
| parent | c4a3768bd227fb4433e32e17bab699eabf7cc793 (diff) | |
| download | clang-3f44479adb5467f04197be2835e576f54250c0c9.tar.gz clang-3f44479adb5467f04197be2835e576f54250c0c9.tar.bz2 clang-3f44479adb5467f04197be2835e576f54250c0c9.tar.xz | |
[Sema] When checking if a bitcast is appropriate between vector types, take into
consideration the num-of-elements*width-of-element width.
Disallow casts when such width is not equal between the vector types otherwise
we may end up with an invalid LLVM bitcast.
rdar://15722308.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
