diff options
author | Craig Topper <craig.topper@intel.com> | 2017-12-05 04:47:12 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-12-05 04:47:12 +0000 |
commit | 95465ed3d163d928143d21ba01c43282a9ec9ef0 (patch) | |
tree | e6049388d8ce08a9b9aa86a298016d48b41e7311 /test | |
parent | a7574026a1ac25d5955e8e29c4b5ec59ac0f6576 (diff) |
[X86] Fix a crash if avx512bw and xop are both enabled when the IR contrains a v32i8 bitreverse.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/vector-bitreverse.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vector-bitreverse.ll b/test/CodeGen/X86/vector-bitreverse.ll index 0eb3a64311a..51b5219f302 100644 --- a/test/CodeGen/X86/vector-bitreverse.ll +++ b/test/CodeGen/X86/vector-bitreverse.ll @@ -8,6 +8,9 @@ ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+xop,+avx | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPAVX1 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+xop,+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=XOP --check-prefix=XOPAVX2 +; Make sure we don't crash with avx512bw and xop +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+xop,+avx512bw + define i8 @test_bitreverse_i8(i8 %a) nounwind { ; SSE-LABEL: test_bitreverse_i8: ; SSE: # %bb.0: |