yuxuanchen1997 wrote: > I feel whether the param is needed is not related whether the allocation > happens. > > The param isn't needed means it is not used.
The original comment seems to suggest a runtime construct? Yeah we can also optimize further here if the param is not used. https://github.com/llvm/llvm-project/pull/81195 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits