[PATCH] D80501: [VE][NFC] Correct sjlj_expection test

Kazushi Marukawa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 24 17:35:28 PDT 2020


kaz7 created this revision.
kaz7 added projects: LLVM, VE.
kaz7 added reviewers: simoll, k-ishizaka.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80501

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


Index: llvm/test/CodeGen/VE/sjlj_except.ll
===================================================================
--- llvm/test/CodeGen/VE/sjlj_except.ll
+++ 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80501.265954.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200525/c1df9314/attachment-0001.bin>


More information about the llvm-commits mailing list