1 ; RUN: llc -verify-machineinstrs -mcpu=ppc64 < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
6 %X = alloca { i32, i32 }
7 %Y = getelementptr {i32,i32}, ptr %X, i32 0, i32 1
11 ; CHECK: addi 3, 1, -4
16 %X = alloca { i32, i32, i32, i32 }
17 %Y = getelementptr {i32,i32,i32,i32}, ptr %X, i32 0, i32 3
21 ; CHECK: addi 3, 1, -4