OLD | NEW |
1 ; Show that we complain if an unknown register is specified on the command line. | 1 ; Show that we complain if an unknown register is specified on the command line. |
2 | 2 |
3 ; Compile using standalone assembler. | 3 ; Compile using standalone assembler. |
4 ; RUN: %p2i --expect-fail --filetype=asm -i %s --target=arm32 --args -Om1 \ | 4 ; RUN: %p2i --expect-fail --filetype=asm -i %s --target=arm32 --args -Om1 \ |
5 ; RUN: -reg-use r2,xx9x,r5,yy28 -reg-exclude s1,sq5 2>&1 \ | 5 ; RUN: -reg-use r2,xx9x,r5,yy28 -reg-exclude s1,sq5 2>&1 \ |
6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
7 | 7 |
8 define void @foo() { | 8 define void @foo() { |
9 ret void | 9 ret void |
10 } | 10 } |
11 | 11 |
12 ; CHECK: LLVM ERROR: Unrecognized use/exclude registers: xx9x yy28 sq5 | 12 ; CHECK: LLVM ERROR: Unrecognized use/exclude registers: xx9x yy28 sq5 |
13 | |
OLD | NEW |