blob: e71a8fb0f160879c753c5cc87034c83cf311bb3b [file] [log] [blame]
Chris Lattner281a1242007-10-16 18:00:18 +00001; RUN: llvm-as < %s | llc -march=ppc32
2; rdar://5538377
3
4 %struct.disk_unsigned = type { i32 }
5 %struct._StorePageMax = type { %struct.disk_unsigned, %struct.disk_unsigned, [65536 x i8] }
6
7define i32 @test() {
8entry:
9 %data = alloca i32 ; <i32*> [#uses=1]
10 %compressedPage = alloca %struct._StorePageMax ; <%struct._StorePageMax*> [#uses=0]
11 %tmp107 = call i32 asm "lwbrx $0, $2, $1", "=r,r,bO,*m"( i8* null, i32 0, i32* %data ) ; <i32> [#uses=0]
12 unreachable
13}
14