blob: c4152b4fc8de38f76da01acdb2f3b0c4b55c8609 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32
Chris Lattnerf602a252007-10-16 18:00:18 +00002; 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