commit | ea4c6680dbcad4376e6d0905792493aa513234c7 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Jan 04 03:31:22 2014 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 17 21:53:48 2020 -0700 |
tree | cacaca7d161901e8e598342d60d2cae42ece61a7 | |
parent | f03bc7c7164f8d3af48deab4fa79d30d0c8f8131 [diff] |
[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. llvm-svn: 198474 GitOrigin-RevId: eb68f6a9de3c782e93321e48422b4ac2b4f9a6be