fhahn wrote: > We can also use this array in ArgumentPromotion: > > https://github.com/llvm/llvm-project/blob/8965dd40c63cf00610fcf550017b46dae736d94b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp#L256-L264 Done, thanks! https://github.com/llvm/llvm-project/pull/123188