[opaque pointer type] Add textual IR support for explicit type parameter to gep operator
[oota-llvm.git] / test / CodeGen / XCore / 2011-01-31-DAGCombineBug.ll
1 ; RUN: llc < %s -march=xcore
2 %struct.st = type <{ i8, i32, i8, i32, i8, i32 }>
3
4 @x = external global %struct.st, align 4
5
6 define i32 @test_entry() nounwind {
7 entry:
8   %0 = load i32, i32* getelementptr inbounds (%struct.st, %struct.st* @x, i32 0, i32 3), align 2
9   ret i32 %0
10 }