diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-01-28 01:38:18 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-01-28 01:38:18 +0000 |
commit | a2f29fa694214e622ea21e6c5b541d406970bf4f (patch) | |
tree | 246c67ca0ed6d2e801897ab1d4dfdc0e9349e94a /llvm/lib/Support/SmallPtrSet.cpp | |
parent | 502ff66967c754205c10a7ecc508b0923e33442e (diff) | |
download | llvm-a2f29fa694214e622ea21e6c5b541d406970bf4f.zip llvm-a2f29fa694214e622ea21e6c5b541d406970bf4f.tar.gz llvm-a2f29fa694214e622ea21e6c5b541d406970bf4f.tar.bz2 |
[Sema] Make extended vectors of `bool` an error.
In OpenCL, `bool` vectors are a reserved type, and are therefore
illegal.
Outside of OpenCL, if we try to make an extended vector of N `bool`s,
Clang will lower it to an `[N x i1]`. LLVM has no ABI for bitvectors, so
lots of operations on such vectors are thoroughly broken. As a result,
this patch makes them illegal in everything else, as well. :)
Differential Revision: http://reviews.llvm.org/D15721
llvm-svn: 259011
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions