[PATCH] D30968: [AVX-512] Fix accidental uses of AH/BH/CH/DH after copies to/from mask registers

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 18 12:49:55 PDT 2017


craig.topper updated this revision to Diff 92255.
craig.topper retitled this revision from "[AVX-512] WIP patch for fixing accidental uses of AH/BH/CH/DH after copies to/from mask registers" to "[AVX-512] Fix accidental uses of AH/BH/CH/DH after copies to/from mask registers".
craig.topper added a comment.

Update all of the tests.

There are a couple spots in fast isel I'm not handling now. Materializing non-zero constants and loading an i1.


https://reviews.llvm.org/D30968

Files:
  lib/Target/X86/X86FastISel.cpp
  lib/Target/X86/X86InstrAVX512.td
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/X86/avx512-calling-conv.ll
  test/CodeGen/X86/avx512-cmp-kor-sequence.ll
  test/CodeGen/X86/avx512-cvt.ll
  test/CodeGen/X86/avx512-ext.ll
  test/CodeGen/X86/avx512-extract-subvector.ll
  test/CodeGen/X86/avx512-fsel.ll
  test/CodeGen/X86/avx512-gather-scatter-intrin.ll
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/avx512-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512-intrinsics.ll
  test/CodeGen/X86/avx512-logic.ll
  test/CodeGen/X86/avx512-mask-op.ll
  test/CodeGen/X86/avx512-regcall-Mask.ll
  test/CodeGen/X86/avx512-select.ll
  test/CodeGen/X86/avx512-vec-cmp.ll
  test/CodeGen/X86/avx512-vpermv3-commute.ll
  test/CodeGen/X86/avx512-vpternlog-commute.ll
  test/CodeGen/X86/avx512bw-intrinsics.ll
  test/CodeGen/X86/avx512bwvl-intrinsics-fast-isel.ll
  test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512bwvl-intrinsics.ll
  test/CodeGen/X86/avx512cdvl-intrinsics.ll
  test/CodeGen/X86/avx512dq-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512dq-intrinsics.ll
  test/CodeGen/X86/avx512dq-mask-op.ll
  test/CodeGen/X86/avx512dqvl-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512dqvl-intrinsics.ll
  test/CodeGen/X86/avx512ifma-intrinsics.ll
  test/CodeGen/X86/avx512ifmavl-intrinsics.ll
  test/CodeGen/X86/avx512vbmivl-intrinsics.ll
  test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512vl-intrinsics.ll
  test/CodeGen/X86/avx512vl-logic.ll
  test/CodeGen/X86/combine-testm-and.ll
  test/CodeGen/X86/compress_expand.ll
  test/CodeGen/X86/fast-isel-load-i1.ll
  test/CodeGen/X86/fast-isel-select-cmov.ll
  test/CodeGen/X86/fma-fneg-combine.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/masked_memop.ll
  test/CodeGen/X86/merge-consecutive-loads-512.ll
  test/CodeGen/X86/pr27591.ll
  test/CodeGen/X86/pr32241.ll
  test/CodeGen/X86/pr32256.ll
  test/CodeGen/X86/vector-shuffle-128-v16.ll
  test/CodeGen/X86/vector-shuffle-256-v16.ll
  test/CodeGen/X86/vector-shuffle-256-v32.ll
  test/CodeGen/X86/vector-shuffle-512-v16.ll
  test/CodeGen/X86/vector-shuffle-avx512.ll
  test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
  test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
  test/CodeGen/X86/vector-shuffle-combining-avx512vbmi.ll
  test/CodeGen/X86/vector-shuffle-masked.ll
  test/CodeGen/X86/vector-shuffle-v1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30968.92255.patch
Type: text/x-patch
Size: 776517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170318/d9b06f1a/attachment-0001.bin>


More information about the llvm-commits mailing list