OLD | NEW |
1 ; Tests the Subzero "name mangling" when using the "llvm2ice --prefix" | 1 ; Tests the Subzero "name mangling" when using the "llvm2ice --prefix" |
2 ; option. | 2 ; option. |
3 | 3 |
4 ; RUN: %llvm2ice --verbose none %s | FileCheck %s | 4 ; RUN: %llvm2ice --verbose none %s | FileCheck %s |
| 5 ; TODO: The following line causes this test to fail. |
| 6 ; RUIN: %llvm2ice --verbose none %s | llvm-mc -x86-asm-syntax=intel |
5 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M
ANGLE %s | 7 ; RUN: %llvm2ice --verbose none --prefix Subzero %s | FileCheck --check-prefix=M
ANGLE %s |
6 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s | 8 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
7 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s | 9 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
8 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ | 10 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
9 ; RUN: | FileCheck --check-prefix=DUMP %s | 11 ; RUN: | FileCheck --check-prefix=DUMP %s |
10 | 12 |
11 define internal void @FuncC(i32 %i) { | 13 define internal void @FuncC(i32 %i) { |
12 entry: | 14 entry: |
13 ret void | 15 ret void |
14 } | 16 } |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 121 |
120 ; Test that unmangled (non-C++) strings don't have substitutions updated. | 122 ; Test that unmangled (non-C++) strings don't have substitutions updated. |
121 define internal void @foo_S_S0_SZ_S() { | 123 define internal void @foo_S_S0_SZ_S() { |
122 ; MANGLE: Subzerofoo_S_S0_SZ_S: | 124 ; MANGLE: Subzerofoo_S_S0_SZ_S: |
123 entry: | 125 entry: |
124 ret void | 126 ret void |
125 } | 127 } |
126 | 128 |
127 ; ERRORS-NOT: ICE translation error | 129 ; ERRORS-NOT: ICE translation error |
128 ; DUMP-NOT: SZ | 130 ; DUMP-NOT: SZ |
OLD | NEW |