]> granicus.if.org Git - clang/commit
[x86] Clean up the x86 builtin specs to reflect r217310 in LLVM which
authorChandler Carruth <chandlerc@gmail.com>
Sat, 6 Sep 2014 10:30:51 +0000 (10:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 6 Sep 2014 10:30:51 +0000 (10:30 +0000)
commita48d2cd031b015ecc6b5a5b7a9398341b97a1e94
tree41a04532e1785dff8728ab969a489cc2df5518c9
parent7d14568fc6ac279db206c3950cb7a460064e8038
[x86] Clean up the x86 builtin specs to reflect r217310 in LLVM which
made the 8-bit masks actually 8-bit arguments to these intrinsics.

These builtins are a mess. Many were missing the I qualifier which
I added where obviously correct. Most aren't tested, but I've updated
the relevant tests. I've tried to catch all the things that should
become 'c' in this round.

It's also frustrating because the set of these is really ad-hoc and
doesn't really map that cleanly to the set supported by either GCC or
LLVM. Oh well...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217311 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
test/CodeGen/avx2-builtins.c
test/CodeGen/builtins-x86.c