]> granicus.if.org Git - clang/commit
[X86] Modify addcarry/subborrow builtins to emit an 2 result and intrinsic and an...
authorCraig Topper <craig.topper@intel.com>
Fri, 7 Sep 2018 16:58:57 +0000 (16:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 7 Sep 2018 16:58:57 +0000 (16:58 +0000)
commit26a2dfb9c8caef4c438191af138f396f76c2ba46
tree9fd80004e3ba7f9ed7837636013fa525256f5ea8
parent3335111af91212195656cb3c42afd72bbdeb699c
[X86] Modify addcarry/subborrow builtins to emit an 2 result and intrinsic and an store instruction.

This is the clang side of D51769. The llvm intrinsics now return two results instead of using an out parameter.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341678 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/adc-builtins.c
test/CodeGen/adx-builtins.c