[clang] [clang][AMDGPU] Evaluate deferred constant printf formats (PR #231967)

Steffen Larsen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 03:08:28 PDT 2026


steffenlarsen wrote:

> Forcing emission of the global out-of-order seems likely to lead to complications. I'd rather not do that unless we really have to.
> 
> Can you use evaluateValue to evaluate the value of constant global arrays?

Good shout! Also makes for a much cleaner patch.

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


More information about the cfe-commits mailing list