[VE][NFC] Correct sjlj_expection test
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 25 May 2020 07:48:51 +0000 (09:48 +0200)
committerSimon Moll <simon.moll@emea.nec.com>
Mon, 25 May 2020 07:49:37 +0000 (09:49 +0200)
Summary: '|&' works with bash only, so it should not be used in regression
tests.

Differential Revision: https://reviews.llvm.org/D80501

llvm/test/CodeGen/VE/sjlj_except.ll

index 582ee6e..4d25585 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc  -mtriple=x86_64-unknown-unknown --exception-model=sjlj --print-after=sjljehprepare < %s |& FileCheck --check-prefix=CHECK-X86 %s
-; RUN: (llc  -mtriple=ve-unknown-unknown --exception-model=sjlj  --print-after=sjljehprepare < %s || true) |& FileCheck --check-prefix=CHECK-VE %s
+; RUN: llc  -mtriple=x86_64-unknown-unknown --exception-model=sjlj --print-after=sjljehprepare < %s 2>&1 | FileCheck --check-prefix=CHECK-X86 %s
+; RUN: (llc  -mtriple=ve-unknown-unknown --exception-model=sjlj  --print-after=sjljehprepare < %s || true) 2>&1 | FileCheck --check-prefix=CHECK-VE %s
 
 @SomeGlobal = external dso_local global i8