[PATCH] D51769: [X86] Change the addcarry and subborrow intrinsics to return 2 results and remove the pointer argument.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 21:33:34 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

We should represent the store directly in IR instead. This gives the middle end a chance to remove it if it can see a load from the same address.


Repository:
  rL LLVM

https://reviews.llvm.org/D51769

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/IR/AutoUpgrade.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/adx-intrinsics-upgrade.ll
  test/CodeGen/X86/adx-intrinsics.ll
  test/CodeGen/X86/stack-folding-adx-x86_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51769.164350.patch
Type: text/x-patch
Size: 29901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/9571904c/attachment.bin>


More information about the llvm-commits mailing list