[llvm] [NVPTX] extend type support for nvvm.{min, max, mulhi, sad} (PR #78385)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 12:08:50 PST 2024


================
@@ -0,0 +1,103 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
+; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_50 | FileCheck %s
----------------
Artem-B wrote:

Another improvent for the tests is to add a conditional ptxas compilation run and then actually run LLVM tests with ` LLVM_PTXAS_EXECUTABLE=/path/to/cuda/bin/ptxas` to make sure ptxas does accept the instructions we generate.

https://github.com/llvm/llvm-project/pull/78385


More information about the llvm-commits mailing list