OLD | NEW |
1 ; Simple test of the load instruction. | 1 ; Simple test of the load instruction. |
2 | 2 |
3 ; REQUIRES: allow_dump | 3 ; REQUIRES: allow_dump |
4 | 4 |
5 ; RUN: %p2i -i %s --args --verbose inst | FileCheck %s | 5 ; RUN: %p2i -i %s --args --verbose inst -threads=0 | FileCheck %s |
6 | 6 |
7 define void @load_i64(i32 %addr_arg) { | 7 define void @load_i64(i32 %addr_arg) { |
8 entry: | 8 entry: |
9 %__1 = inttoptr i32 %addr_arg to i64* | 9 %__1 = inttoptr i32 %addr_arg to i64* |
10 %iv = load i64* %__1, align 1 | 10 %iv = load i64* %__1, align 1 |
11 ret void | 11 ret void |
12 | 12 |
13 ; CHECK: Initial CFG | 13 ; CHECK: Initial CFG |
14 ; CHECK: entry: | 14 ; CHECK: entry: |
15 ; CHECK-NEXT: %iv = load i64* %addr_arg, align 1 | 15 ; CHECK-NEXT: %iv = load i64* %addr_arg, align 1 |
(...skipping 28 matching lines...) Expand all Loading... |
44 entry: | 44 entry: |
45 %__1 = inttoptr i32 %addr_arg to i8* | 45 %__1 = inttoptr i32 %addr_arg to i8* |
46 %iv = load i8* %__1, align 1 | 46 %iv = load i8* %__1, align 1 |
47 ret void | 47 ret void |
48 | 48 |
49 ; CHECK: Initial CFG | 49 ; CHECK: Initial CFG |
50 ; CHECK: entry: | 50 ; CHECK: entry: |
51 ; CHECK-NEXT: %iv = load i8* %addr_arg, align 1 | 51 ; CHECK-NEXT: %iv = load i8* %addr_arg, align 1 |
52 ; CHECK-NEXT: ret void | 52 ; CHECK-NEXT: ret void |
53 } | 53 } |
OLD | NEW |