https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/203075
Fixing lit tests after changes in the alloca format >From cbac5e8dddc6771a0c05914d65afcd31d927dfdf Mon Sep 17 00:00:00 2001 From: Amr Hesham <[email protected]> Date: Wed, 10 Jun 2026 21:00:43 +0200 Subject: [PATCH] [CIR][NFC] Fix lit tests after chaning alloca format --- clang/test/CIR/CodeGen/inline-asm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/CIR/CodeGen/inline-asm.c b/clang/test/CIR/CodeGen/inline-asm.c index aae5a4c3160b2..6a65438196489 100644 --- a/clang/test/CIR/CodeGen/inline-asm.c +++ b/clang/test/CIR/CodeGen/inline-asm.c @@ -906,9 +906,9 @@ void t34(void) { // Register input (null element type) before a memory input: keep elementtype. // CIR: cir.func{{.*}}@t35 -// CIR: %[[I:.*]] = cir.alloca !s32i, !cir.ptr<!s32i>, ["i", init] -// CIR: %[[G:.*]] = cir.alloca !s32i, !cir.ptr<!s32i>, ["g"] -// CIR: %[[I_LOAD:.*]] = cir.load align(4) %[[I]] : !cir.ptr<!s32i>, !s32i +// CIR: %[[I:.*]] = cir.alloca "i" {{.*}} init : !cir.ptr<!s32i> +// CIR: %[[G:.*]] = cir.alloca "g" {{.*}} : !cir.ptr<!s32i> +// CIR: %[[I_LOAD:.*]] = cir.load {{.*}} %[[I]] : !cir.ptr<!s32i>, !s32i // CIR: cir.asm(x86_att, // CIR-NEXT: out = [], // CIR-NEXT: in = [%[[I_LOAD]] : !s32i, %[[G]] : !cir.ptr<!s32i> (maybe_memory)], _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
