2015-05-06 03:33:37 +08:00
|
|
|
; Verify ReplaceExtractVectorEltOfLoadWithNarrowedLoad fixes
|
|
|
|
;
|
|
|
|
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
|
|
|
|
|
|
|
|
; Test a memory copy of a v2i32 (via the constant pool).
|
|
|
|
define void @f1(<2 x i32> *%dest) {
|
|
|
|
; CHECK-LABEL: f1:
|
2019-03-05 03:12:16 +08:00
|
|
|
; CHECK: llihf [[REG:%r[0-5]]], 1000000
|
|
|
|
; CHECK: oilf [[REG]], 99999
|
2015-05-06 03:33:37 +08:00
|
|
|
; CHECK: stg [[REG]], 0(%r2)
|
|
|
|
; CHECK: br %r14
|
|
|
|
store <2 x i32> <i32 1000000, i32 99999>, <2 x i32> *%dest
|
|
|
|
ret void
|
|
|
|
}
|