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