llvm.org GIT mirror llvm / testing test / CodeGen / X86 / x86-interleaved-check.ll
testing

Tree @testing (Download .tar.gz)

x86-interleaved-check.ll @testingraw · history · blame

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-pc-linux -mattr=+avx | FileCheck %s --check-prefix=AVX
; RUN: llc < %s -mtriple=x86_64-pc-linux -mattr=+avx2 | FileCheck %s --check-prefix=AVX
; RUN: llc < %s -mtriple=x86_64-pc-linux -mattr=+avx512f -mattr=+avx512bw | FileCheck %s --check-prefix=AVX

define void @validate() {
; AVX-LABEL: validate:
; AVX:       # BB#0: # %entry
entry:
  %0 = bitcast i8 addrspace(1)* undef to <96 x i8> addrspace(1)*
  %wide.vec = load <96 x i8>, <96 x i8> addrspace(1)* %0, align 1
  %strided.vec = shufflevector <96 x i8> %wide.vec, <96 x i8> undef, <32 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93>
  unreachable
}