[PATCH] D150999: [NVPTX] generalize hasPTX/hasSM predicates. NFC.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 14:02:24 PDT 2023


tra created this revision.
Herald added subscribers: mattd, gchakrabarti, asavonic, bixia, hiraditya.
Herald added a project: All.
tra published this revision for review.
tra added a reviewer: jlebar.
Herald added subscribers: llvm-commits, jdoerfert, jholewinski.
Herald added a project: LLVM.

Replaces hasSMxy/hasPTXxy with hasSM<xy>/hasPTX<xy> so we can use them as needed
without having to hardcode each version explicitly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150999

Files:
  llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
  llvm/lib/Target/NVPTX/NVPTXIntrinsics.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150999.523933.patch
Type: text/x-patch
Size: 42320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/adfffa81/attachment.bin>


More information about the llvm-commits mailing list