[X86] Remove the addcarry builtins. Leaving only the addcarryx builtins since that...
authorCraig Topper <craig.topper@intel.com>
Mon, 10 Dec 2018 06:07:59 +0000 (06:07 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 10 Dec 2018 06:07:59 +0000 (06:07 +0000)
commit6d7a7ef9ebafdf8a9f71508f4a5c9ecf31266df6
treeb20534d566d31c98cc17b28bea348bdd7c763538
parent02b614abc89f2270eb391c8c56247b5271bf10b7
[X86] Remove the addcarry builtins. Leaving only the addcarryx builtins since that matches gcc.

The addcarry and addcarryx builtins do the same thing. The only difference is that addcarryx previously required adx feature.

This commit removes the adx feature check from addcarryx and removes the addcarry builtin. This matches the builtins that gcc has. We don't guarantee compatibility in builtins, but we generally try to be consistent if its not a burden.

llvm-svn: 348738
clang/include/clang/Basic/BuiltinsX86.def
clang/include/clang/Basic/BuiltinsX86_64.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Headers/adxintrin.h
clang/test/CodeGen/adc-builtins.c
clang/test/CodeGen/adx-builtins.c