[PATCH] D44785: Lowering x86 adds/addus/subs/subus intrinsics (llvm part)

Tomasz Krupa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 01:32:30 PDT 2018


tkrupa updated this revision to Diff 141114.
tkrupa marked an inline comment as done.
tkrupa added a comment.

Now there are IR tests in regular test files and previous tests in 'upgrade' test files.
I also added some 512 bit AVX2 tests and 1024 bit AVX512BW tests to ensure the vectors get split properly.
isPowerOf2_32 check is restored.


Repository:
  rL LLVM

https://reviews.llvm.org/D44785

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/IR/AutoUpgrade.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/avx2-intrinsics-fast-isel.ll
  test/CodeGen/X86/avx2-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/avx2-intrinsics-x86.ll
  test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512bw-intrinsics.ll
  test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512bwvl-intrinsics.ll
  test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
  test/CodeGen/X86/sse2-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/sse2-intrinsics-x86.ll
  test/CodeGen/X86/sse2-schedule.ll
  test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44785.141114.patch
Type: text/x-patch
Size: 352089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180405/f937c05d/attachment-0001.bin>


More information about the llvm-commits mailing list