This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] generalize hasPTX/hasSM predicates. NFC.
ClosedPublic

Authored by tra on May 19 2023, 1:58 PM.

Details

Summary

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

Diff Detail

Event Timeline

tra created this revision.May 19 2023, 1:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2023, 1:58 PM
tra published this revision for review.May 19 2023, 2:02 PM
tra added a reviewer: jlebar.
jlebar accepted this revision.May 19 2023, 4:47 PM
This revision is now accepted and ready to land.May 19 2023, 4:47 PM
This revision was automatically updated to reflect the committed changes.