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