[clang] [CIR] Add custom assembly format for alloca op to fix flag parsing (PR #198962)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 17:58:12 PDT 2026


Andres-Salamanca wrote:


yeah that looks better! quick question why did you drop the type of `dynAllocSize`? i noticed `llvm.alloca` uses `x` to  separate it, in our case i think keeping it with a `,` looks good:
`%0 = cir.alloca "n" align(4) init %sz : !u64i, !s32i -> !cir.ptr<!s32i>`
what do you think?

https://github.com/llvm/llvm-project/pull/198962


More information about the cfe-commits mailing list