shiltian wrote: > Could we assume "gfx * -generic" is a single Target ID, and check for/parse > that separately before doing rsplit on "-"?
I was thinking about it the other day but eventually gave up on it, because I want to keep this part as generic as possible instead of adding AMD special sauce here. I prefer not to do something like pattern matching stuff about `gfx`. https://github.com/llvm/llvm-project/pull/122629 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits