HomePhabricator

Catch invalid bitwise operation on vector of floats

Authored by sepavloff on Jun 7 2017, 10:25 PM.

Description

Catch invalid bitwise operation on vector of floats

Bitwise complement applied to vector of floats described with
attribute ext_vector_type is not diagnosed as error. Attempt to
compile such construct causes assertion violation in Instruction.cpp.
With this change the complement is treated similar to the case of
vector type described with attribute vector_size.

Differential Revision: https://reviews.llvm.org/D33732

llvm-svn: 304963

Details

Committed
sepavloffJun 7 2017, 10:25 PM
Differential Revision
D33732: Catch invalid bitwise operation on vector of floats
Parents
rG24f7dd9c72bd: [ODRHash] Make diagnostic message more readable.
Branches
Unknown
Tags
Unknown