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

Kiroo via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 7 23:21:12 PDT 2026


zlfn wrote:

I ran `BuiltinConstantArgRange()` before `convertArgumentToType()`, which is the opposite of what you suggested on #202111.

Converting first changes which calls are accepted. For example, `__builtin_prefetch(p, 0x100000001LL)` is an error for now; but after the conversion it becomes 1. Of course, warnings will occur, but I thought it isn't good, so I wrote code this way.

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


More information about the cfe-commits mailing list