[llvm] [LLVM] Respect `optnone` in `promote-args` and `deadargelim` (PR #211804)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 07:39:48 PDT 2026


jhuber6 wrote:

The `optnone` attribute in general says it intentionally skips interprocedural passes. I'd assume that `clang -O0` should include `noipa` if that also solves the problem. We probably want to keep this stuff local to the function in any case.

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


More information about the llvm-commits mailing list