[clang] [clang][CodeGen] Emit prefetch hints and frame address depth as i32 (PR #221477)

Kiroo via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 5 12:23:12 PDT 2026


zlfn wrote:

#202111 covers the prefetch hints at the Sema level. A fix at that level works for machines with a 32-bit or wider int, but it does not address the problem on targets with 16-bit int.

Converting the arguments to `int` will still produce a mismatch on targets where int is not 32 bits.

The review on that PR asks for the conversion to be done in Sema rather than in CodeGen, 
but I think it belongs in CodeGen.

@efriedma-quic, would you mind taking a look?

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


More information about the cfe-commits mailing list