• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -verify-machineinstrs -debug-only=isel <%s >%t 2>&1 && FileCheck <%t %s
2; REQUIRES: asserts
3
4target datalayout = "E-m:e-i64:64-n32:64"
5target triple = "powerpc64-unknown-linux-gnu"
6
7define <16 x i8> @test_l_v16i8(<16 x i8>* %p) #0 {
8entry:
9  %r = load <16 x i8>, <16 x i8>* %p, align 1
10  ret <16 x i8> %r
11
12; CHECK-NOT: v4i32,ch = llvm.ppc.altivec.lvx{{.*}}<(load 31 from %ir.p + 4294967281, align 1)>
13; CHECK:     v4i32,ch = llvm.ppc.altivec.lvx{{.*}}<(load 31 from %ir.p - 15, align 1)>
14}
15
16attributes #0 = { nounwind "target-cpu"="pwr7" }
17
18