diff options
| author | John McCall <rjmccall@apple.com> | 2015-07-23 23:54:07 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2015-07-23 23:54:07 +0000 |
| commit | 1c78f085c35d0aefdc8790fdf898a7f95ff192a5 (patch) | |
| tree | 514f72441aac10fd4d831f820db864fb6bf2fa5a /llvm/test/DebugInfo/nodebug.ll | |
| parent | 3cfb62da14a9967aa0b4e8b17df33a0b2f43413e (diff) | |
| download | bcm5719-llvm-1c78f085c35d0aefdc8790fdf898a7f95ff192a5.tar.gz bcm5719-llvm-1c78f085c35d0aefdc8790fdf898a7f95ff192a5.zip | |
Fix the equal-vector-size rule for reinterpret_casts in C++
to consider the storage size of the vector instead of its
sizeof. In other words, ban <3 x int> to <4 x int> casts,
which produced invalid IR anyway.
Also, attempt to be a little more rigorous, or at least
explicit, about when enums are allowed in these casts.
rdar://21901132
llvm-svn: 243069
Diffstat (limited to 'llvm/test/DebugInfo/nodebug.ll')
0 files changed, 0 insertions, 0 deletions

