[clang] 858fa0e - [CIR][NFC] Fix the mms-bitfields test file (#172060)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 12 10:51:15 PST 2025


Author: Amr Hesham
Date: 2025-12-12T18:51:10Z
New Revision: 858fa0e1edd8c6f512717de66bd20d647c68b9c8

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

LOG: [CIR][NFC] Fix the mms-bitfields test file (#172060)

Fix the args in the mms-bitfields test file to be aligned with the same
test in classical codegen (clang/test/CodeGen/mms-bitfields.c). After
#71148 is merged

Added: 
    

Modified: 
    clang/test/CIR/CodeGen/mms-bitfields.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CIR/CodeGen/mms-bitfields.c b/clang/test/CIR/CodeGen/mms-bitfields.c
index 698034aadb100..2b8c533c408e7 100644
--- a/clang/test/CIR/CodeGen/mms-bitfields.c
+++ b/clang/test/CIR/CodeGen/mms-bitfields.c
@@ -1,8 +1,8 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -mms-bitfields -fclangir -emit-cir %s -o %t.cir
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-layout-compatibility=microsoft -fclangir -emit-cir %s -o %t.cir
 // RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -mms-bitfields -fclangir -emit-llvm %s -o %t-cir.ll
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-layout-compatibility=microsoft -fclangir -emit-llvm %s -o %t-cir.ll
 // RUN: FileCheck --input-file=%t-cir.ll %s --check-prefix=LLVM
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -mms-bitfields -emit-llvm %s -o %t.ll
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fms-layout-compatibility=microsoft -emit-llvm %s -o %t.ll
 // RUN: FileCheck --input-file=%t.ll %s --check-prefix=OGCG
 
 struct s1 {


        


More information about the cfe-commits mailing list