Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 ; Show that we complain if an unknown register is specified on the command line. | |
| 2 | |
| 3 ; Compile using standalone assembler. | |
| 4 ; RUN: %p2i --expect-fail --filetype=asm -i %s --target=arm32 --args -Om1 \ | |
| 5 ; RUN: -reg-use r2,xx9x,r5 2>&1 \ | |
| 6 ; RUN: | FileCheck %s --check-prefix=USE | |
| 7 | |
| 8 ; Compile using standalone assembler. | |
| 9 ; RUN: %p2i --expect-fail --filetype=asm -i %s --target=arm32 --args -Om1 \ | |
| 10 ; RUN: -reg-exclude r2,xx9x,r5 2>&1 \ | |
| 11 ; RUN: | FileCheck %s --check-prefix=EXC | |
| 12 | |
| 13 define void @foo() { | |
| 14 ret void | |
| 15 } | |
| 16 | |
| 17 ; USE: LLVM ERROR: Can't find register use: xx9x | |
|
Jim Stichnoth
2016/01/15 00:50:56
If you take my suggestion about reporting *all* bo
Karl
2016/01/15 16:54:25
Done.
| |
| 18 ; EXC: LLVM ERROR: Can't find register exclude: xx9x | |
| 19 | |
|
Jim Stichnoth
2016/01/15 00:50:56
Delete trailing whitespace (blank line).
Karl
2016/01/15 16:54:25
Done.
| |
| OLD | NEW |