yxsamliu wrote:

> Somewhere for the linker wrapper I just checked if the triple was recognized, 
> you could probably just take strings after the `-` until it stops working.

+1

It would be bad user experience to break existing app. It would be low risk to 
have env+cpu to be a valid cpu. So you could assume env exist first, if fails 
to parse remaining as cpu, then recoil to assume no env and parse the remaining 
all as cpu.

https://github.com/llvm/llvm-project/pull/122629
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to