| OLD | NEW |
| 1 ; This tries to be a comprehensive test of i64 operations, in | 1 ; This tries to be a comprehensive test of i64 operations, in |
| 2 ; particular the patterns for lowering i64 operations into constituent | 2 ; particular the patterns for lowering i64 operations into constituent |
| 3 ; i32 operations on x86-32. | 3 ; i32 operations on x86-32. |
| 4 | 4 |
| 5 ; RUN: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \ | 5 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 \ |
| 6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
| 7 ; RUN: %p2i --assemble --disassemble -i %s --args -Om1 --verbose none \ | 7 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 \ |
| 8 ; RUN: | FileCheck --check-prefix=OPTM1 %s | 8 ; RUN: | FileCheck --check-prefix=OPTM1 %s |
| 9 | 9 |
| 10 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 | 10 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 |
| 11 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 | 11 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 |
| 12 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 | 12 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 |
| 13 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 | 13 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 |
| 14 | 14 |
| 15 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) { | 15 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) { |
| 16 entry: | 16 entry: |
| 17 ret i32 %b | 17 ret i32 %b |
| (...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 | 1295 |
| 1296 if.end3: ; preds = %if.then2, %if.end | 1296 if.end3: ; preds = %if.then2, %if.end |
| 1297 ret void | 1297 ret void |
| 1298 } | 1298 } |
| 1299 ; The following checks are not strictly necessary since one of the RUN | 1299 ; The following checks are not strictly necessary since one of the RUN |
| 1300 ; lines actually runs the output through the assembler. | 1300 ; lines actually runs the output through the assembler. |
| 1301 ; CHECK-LABEL: icmpLt64Imm | 1301 ; CHECK-LABEL: icmpLt64Imm |
| 1302 ; CHECK-NOT: cmp 0x{{[0-9a-f]+}}, | 1302 ; CHECK-NOT: cmp 0x{{[0-9a-f]+}}, |
| 1303 ; OPTM1-LABEL: icmpLt64Imm | 1303 ; OPTM1-LABEL: icmpLt64Imm |
| 1304 ; OPTM1-NOT: cmp 0x{{[0-9a-f]+}}, | 1304 ; OPTM1-NOT: cmp 0x{{[0-9a-f]+}}, |
| OLD | NEW |