[PATCH] D51754: [X86] Remove isel patterns for ADCX instruction

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


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

There's no advantage to this instruction unless you need to avoid touching other flag bits. It's encoding is longer, it can't fold an immediate, it doesn't write all the flags.

I don't think gcc will generate this instruction either.

Fixes PR38852.


https://reviews.llvm.org/D51754

Files:
  lib/Target/X86/X86InstrArithmetic.td
  test/CodeGen/X86/adx-intrinsics.ll
  test/CodeGen/X86/pr32282.ll
  test/CodeGen/X86/pr32284.ll
  test/CodeGen/X86/stack-folding-adx-x86_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51754.164289.patch
Type: text/x-patch
Size: 15664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180906/6cd17661/attachment-0001.bin>


More information about the llvm-commits mailing list