[PATCH] D123041: [NVPTX] Avoid dots in global names
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 11:23:33 PDT 2022
tra added a comment.
Normally such replacement is done with `nvptx-assign-valid-global-names` pass, so we could pipe the tests through `opt -nvptx-assign-valid-global-names` which will ensure that tests don't have to know that dot is special for NVPTX. The downside is that it would have to be done for all llc tests. Perhaps we should consider moving the `nvptx-assign-valid-global-names` pass to the back-end.
Not using dots only fixes the issues we have now and would still leave us open to test breaks if a new NVPTX-invalid name is added by accident. I think running `nvptx-assign-valid-global-names` in llc may be a better solution.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123041/new/
https://reviews.llvm.org/D123041
More information about the llvm-commits
mailing list