aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/bitcast-i256.ll
blob: 85ac2fed6faac760a086f9c89172a2067396df9a (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -mtriple=x86_64-unknown-unknown -mcpu=core-avx-i < %s | FileCheck %s --check-prefix CHECK

define i256 @foo(<8 x i32> %a) {
  %r = bitcast <8 x i32> %a to i256
  ret i256 %r
; CHECK: foo
; CHECK: vextractf128
; CHECK: vpextrq
; CHECK: vpextrq
; CHECK: ret
}