1*9880d681SAndroid Build Coastguard Worker; RUN: llc -O0 -verify-machineinstrs -fast-isel-abort=1 -optimize-regalloc -regalloc=basic -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s 2*9880d681SAndroid Build Coastguard Worker; This isn't exactly a useful set of command-line options, but check that it 3*9880d681SAndroid Build Coastguard Worker; doesn't crash. (It crashed formerly on ARM, and proved useful in 4*9880d681SAndroid Build Coastguard Worker; discovering a bug on PowerPC as well.) 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine i32 @f(i32* %x) nounwind { 7*9880d681SAndroid Build Coastguard Worker %y = getelementptr inbounds i32, i32* %x, i32 5000 8*9880d681SAndroid Build Coastguard Worker %tmp103 = load i32, i32* %y, align 4 9*9880d681SAndroid Build Coastguard Worker ret i32 %tmp103 10*9880d681SAndroid Build Coastguard Worker} 11