[PATCH] D46179: [X86] Lowering adds/addus/subs/subus intrinsics to native IR (LLVM part)

Tomasz Krupa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 10:02:16 PDT 2018


tkrupa updated this revision to Diff 146864.
tkrupa added a subscriber: mike.dvoretsky.
tkrupa added a comment.

As was decided, I removed lowering in Autoupgrade.cpp. I also moved the tests into corresponding *target*-intrinsics-canonical.ll files as discussed with @mike.dvoretsky. I added tests for PR37260 in test/CodeGen/X86/avx2-intrinsics-canonical.ll.
What's your opinion on fast-isel subus emmision and my proposition in detectAddSubSatPattern function?


Repository:
  rL LLVM

https://reviews.llvm.org/D46179

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx2-intrinsics-canonical.ll
  test/CodeGen/X86/avx2-intrinsics-fast-isel.ll
  test/CodeGen/X86/avx512bw-intrinsics-canonical.ll
  test/CodeGen/X86/avx512bwvl-intrinsics-canonical.ll
  test/CodeGen/X86/sse2-intrinsics-canonical.ll
  test/CodeGen/X86/sse2-intrinsics-fast-isel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46179.146864.patch
Type: text/x-patch
Size: 264253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180515/3a5ae529/attachment-0001.bin>


More information about the llvm-commits mailing list