[PATCH] D47691: [NVPTX] Ignore target-cpu and -features for inling

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 12 17:33:27 PDT 2018


tra added a comment.

I've discussed this with @echristo . Bottom line is that this patch is OK to proceed, and that I'm on the hook to add a NVPTX-specific pass to enforce that all target-cpu and and target-feature attributes in the TU are compatible with the current compilation parameters. I.e. if we're compiling for sm_50, then IR with functions that have target-cpu=sm_60 will result in an error.


Repository:
  rL LLVM

https://reviews.llvm.org/D47691





More information about the llvm-commits mailing list