[clang] d5e9a56 - [CIR][NFC] Update redirection syntax in lit test (#164572)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 22 09:39:49 PDT 2025


Author: Amr Hesham
Date: 2025-10-22T09:39:46-07:00
New Revision: d5e9a56ccb44eeb1f36a7af8be81081bbf00eb9c

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

LOG: [CIR][NFC] Update redirection syntax in lit test (#164572)

Update the redirection syntax in the lit test file to be compatible with
the LLVM internal shell, which is the default now

Added: 
    

Modified: 
    clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c b/clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c
index 92eae6aab6800..19362cf79b107 100644
--- a/clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c
+++ b/clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c
@@ -1,11 +1,11 @@
-// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-cir -fdump-record-layouts %s -o %t.cir 1> %t.cirlayout
+// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-cir -fdump-record-layouts %s -o %t.cir > %t.cirlayout
 // RUN: FileCheck --input-file=%t.cirlayout %s --check-prefix=CIR-LAYOUT
 // RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
 
 // RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll
 // RUN: FileCheck --input-file=%t-cir.ll %s --check-prefix=LLVM
 
-// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fdump-record-layouts %s -o %t.ll 1> %t.ogcglayout
+// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fdump-record-layouts %s -o %t.ll > %t.ogcglayout
 // RUN: FileCheck --input-file=%t.ogcglayout %s --check-prefix=OGCG-LAYOUT
 // RUN: FileCheck --input-file=%t.ll %s --check-prefix=OGCG
 


        


More information about the cfe-commits mailing list