Chris Lattner | 281a124 | 2007-10-16 18:00:18 +0000 | [diff] [blame^] | 1 | ; 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 | |
| 7 | define i32 @test() { |
| 8 | entry: |
| 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 | |