[llvm] 5b7ff6f - [VE][NFC] Correct sjlj_expection test

Simon Moll via llvm-commits llvm-commits at lists.llvm.org
Mon May 25 00:50:06 PDT 2020


Author: Kazushi (Jam) Marukawa
Date: 2020-05-25T09:49:37+02:00
New Revision: 5b7ff6f07ffbcbcfad24f39faad5858cc379fad0

URL: https://github.com/llvm/llvm-project/commit/5b7ff6f07ffbcbcfad24f39faad5858cc379fad0
DIFF: https://github.com/llvm/llvm-project/commit/5b7ff6f07ffbcbcfad24f39faad5858cc379fad0.diff

LOG: [VE][NFC] Correct sjlj_expection test

Summary: '|&' works with bash only, so it should not be used in regression
tests.

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

Added: 
    

Modified: 
    llvm/test/CodeGen/VE/sjlj_except.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/VE/sjlj_except.ll b/llvm/test/CodeGen/VE/sjlj_except.ll
index 582ee6eb1e6a..4d2558571bf4 100644
--- a/llvm/test/CodeGen/VE/sjlj_except.ll
+++ b/llvm/test/CodeGen/VE/sjlj_except.ll
@@ -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
 


        


More information about the llvm-commits mailing list