OLD | NEW |
1 ; This tests parsing NaCl intrinsics not related to atomic operations. | 1 ; This tests parsing NaCl intrinsics not related to atomic operations. |
2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
3 ; RUN: %p2i -i %s --insts | FileCheck %s | 5 ; RUN: %p2i -i %s --insts | FileCheck %s |
4 ; RUN: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
8 | 10 |
9 declare i8* @llvm.nacl.read.tp() | 11 declare i8* @llvm.nacl.read.tp() |
10 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) | 12 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) |
11 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) | 13 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) |
12 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) | 14 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave() | 339 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave() |
338 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4 | 340 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4 |
339 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1 | 341 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1 |
340 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1 | 342 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1 |
341 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1 | 343 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1 |
342 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1) | 344 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1) |
343 ; CHECK-NEXT: ret void | 345 ; CHECK-NEXT: ret void |
344 ; CHECK-NEXT: } | 346 ; CHECK-NEXT: } |
345 | 347 |
346 ; NOIR: Total across all functions | 348 ; NOIR: Total across all functions |
OLD | NEW |