llvm.org GIT mirror llvm / ac6a87b test / CodeGen / X86 / bitcast-i256.ll
ac6a87b

Tree @ac6a87b (Download .tar.gz)

bitcast-i256.ll @ac6a87braw · history · blame

; 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
}