blob: 98bf2bc4794293e226e899917c3e228f324f2f7e [file] [log] [blame]
Ehsan Amiria538b0f2016-08-03 18:17:35 +00001; RUN: llc -verify-machineinstrs -debug-only=isel <%s >%t 2>&1 && FileCheck <%t %s
Hal Finkel99d95322015-09-03 21:12:15 +00002; 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{{.*}}<LD31[%p+4294967281](align=1)>
13; CHECK: v4i32,ch = llvm.ppc.altivec.lvx{{.*}}<LD31[%p+-15](align=1)>
14}
15
16attributes #0 = { nounwind "target-cpu"="pwr7" }
17