diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-22 18:06:51 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-04-22 18:06:51 +0000 |
| commit | 8237008897c53be143e528c18a97dc545831ae04 (patch) | |
| tree | bc9b33ca2b2ca391720258bb51be167b6c735196 /llvm/test/CodeGen/ARM/Windows | |
| parent | 040bb35d9dc0ecc5a27191a4145334fe240eb257 (diff) | |
| download | bcm5719-llvm-8237008897c53be143e528c18a97dc545831ae04.tar.gz bcm5719-llvm-8237008897c53be143e528c18a97dc545831ae04.zip | |
test: split test into two runs
Rather than checking both stdout and stderr simultaneously, split it into two
tests. This apparently breaks on Windows where MSVCRT does not buffer output
correctly. NFC.
Thanks to chapuni for bringing the issue to my attention!
llvm-svn: 267179
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows')
| -rw-r--r-- | llvm/test/CodeGen/ARM/Windows/dbzchk.ll | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/dbzchk.ll b/llvm/test/CodeGen/ARM/Windows/dbzchk.ll index bb25527a9cc..e1c561fa48f 100644 --- a/llvm/test/CodeGen/ARM/Windows/dbzchk.ll +++ b/llvm/test/CodeGen/ARM/Windows/dbzchk.ll @@ -79,6 +79,7 @@ return: ; CHECK-MOD-DAG: BB#4 ; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -filetype asm -o - %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG +; RUN: llc -mtriple thumbv7--windows-itanium -print-machineinstrs=expand-isel-pseudos -filetype asm -o - %s 2>&1 | FileCheck %s -check-prefix CHECK-CFG-ASM ; unsigned c; ; extern unsigned long g(void); @@ -133,14 +134,14 @@ attributes #0 = { optsize } ; CHECK-CFG-DAG: BB#5 ; CHECK-CFG-DAG: t2UDF 249 -; CHECK-CFG-LABEL: h: -; CHECK-CFG: cbz r{{[0-9]}}, .LBB2_2 -; CHECK-CFG: b .LBB2_4 -; CHECK-CFG-LABEL: .LBB2_2: -; CHECK-CFG-NEXT: udf.w #249 -; CHECK-CFG-LABEL: .LBB2_4: -; CHECK-CFG: bl __rt_udiv -; CHECK-CFG: pop.w {{{.*}}, r11, pc} +; CHECK-CFG-ASM-LABEL: h: +; CHECK-CFG-ASM: cbz r{{[0-9]}}, .LBB2_2 +; CHECK-CFG-ASM: b .LBB2_4 +; CHECK-CFG-ASM-LABEL: .LBB2_2: +; CHECK-CFG-ASM-NEXT: udf.w #249 +; CHECK-CFG-ASM-LABEL: .LBB2_4: +; CHECK-CFG-ASM: bl __rt_udiv +; CHECK-CFG-ASM: pop.w {{{.*}}, r11, pc} ; RUN: llc -O0 -mtriple thumbv7--windows-itanium -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-WIN__DBZCHK |

