[X86] Merge addcarryx/addcarry intrinsic into a single addcarry intrinsic.
authorCraig Topper <craig.topper@intel.com>
Mon, 10 Dec 2018 06:07:50 +0000 (06:07 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 10 Dec 2018 06:07:50 +0000 (06:07 +0000)
commit02b614abc89f2270eb391c8c56247b5271bf10b7
tree301fcd6eea555a76ec9f7bc9b4ea2231ce974aeb
parent118687278955c5c212754a87adb1e826fe8b7940
[X86] Merge addcarryx/addcarry intrinsic into a single addcarry intrinsic.

Both intrinsics do the exact same thing so we really only need one.

Earlier in the 8.0 cycle we changed the signature of this intrinsic without renaming it. But it looks difficult to get the autoupgrade code to allow me to merge the intrinsics and change the signature at the same time. So I've renamed the intrinsic slightly for the new merged intrinsic. I'm skipping autoupgrading from the previous new to 8.0 signature. I've also renamed the subborrow for consistency.

llvm-svn: 348737
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/Target/X86/X86IntrinsicsInfo.h
llvm/test/CodeGen/X86/adx-commute.mir
llvm/test/CodeGen/X86/adx-intrinsics.ll
llvm/test/CodeGen/X86/stack-folding-adx-x86_64.ll
llvm/test/CodeGen/X86/stack-folding-adx.mir