[all-commits] [llvm/llvm-project] a7c5cf: [NVPTX] generalize hasPTX/hasSM predicates. NFC.

Artem Belevich via All-commits all-commits at lists.llvm.org
Mon May 22 11:10:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7c5cf226024e246501aa2b66350c3f922acc0cb
      https://github.com/llvm/llvm-project/commit/a7c5cf226024e246501aa2b66350c3f922acc0cb
  Author: Artem Belevich <tra at google.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td

  Log Message:
  -----------
  [NVPTX] generalize hasPTX/hasSM predicates. NFC.

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

Differential Revision: https://reviews.llvm.org/D150999




More information about the All-commits mailing list