• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Verify ReplaceExtractVectorEltOfLoadWithNarrowedLoad fixes
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s
4
5; Test a memory copy of a v2i32 (via the constant pool).
6define void @f1(<2 x i32> *%dest) {
7; CHECK-LABEL: f1:
8; CHECK: lgrl [[REG:%r[0-5]]], {{[._A-Za-z0-9]}}
9; CHECK: stg [[REG]], 0(%r2)
10; CHECK: br %r14
11  store <2 x i32> <i32 1000000, i32 99999>, <2 x i32> *%dest
12  ret void
13}
14