From 5b7ff6f07ffbcbcfad24f39faad5858cc379fad0 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Mon, 25 May 2020 09:48:51 +0200 Subject: [PATCH] [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 --- llvm/test/CodeGen/VE/sjlj_except.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/VE/sjlj_except.ll b/llvm/test/CodeGen/VE/sjlj_except.ll index 582ee6e..4d25585 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 -- 2.7.4