[all-commits] [llvm/llvm-project] 6f318d: [NVPTX] Make minimum/maximum work on older GPUs

David Majnemer via All-commits all-commits at lists.llvm.org
Wed Jul 31 15:39:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f318d47bfba56df65394db6c20befe3ed5bf243
      https://github.com/llvm/llvm-project/commit/6f318d47bfba56df65394db6c20befe3ed5bf243
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/test/CodeGen/NVPTX/math-intrins.ll

  Log Message:
  -----------
  [NVPTX] Make minimum/maximum work on older GPUs

We want to use newer instructions if we are targeting sufficiently new
SM and PTX versions. If we cannot use those newer instructions, let LLVM
synthesize the sequence from more fundamental instructions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list