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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
