[clang] clang: Add BoundArch argument to addClangTargetOptions (PR #196504)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri May 8 09:03:58 PDT 2026
arsenm wrote:
> Not sure if the bound architecture helps too much there, since it's not set in all cases anyway. Could we make a helper for this?
It's only not set in the not-offload case, which is a different path anyway. IMO everywhere that has an OffloadKind should know the BoundArch. The invocation already knows the target, and various parts of the toolchain should never need to re-parse the arguments for the target
https://github.com/llvm/llvm-project/pull/196504
More information about the cfe-commits
mailing list