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