[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 10:57:10 PST 2024


================
@@ -0,0 +1,50 @@
+; RUN: llc < %s -march=nvptx -mcpu=sm_50 | FileCheck %s
+
+; CHECK-LABEL: test_sad_i16
+; CHECK: sad.s16
----------------
Artem-B wrote:

It would be good to check that we pass the arguments correctly.
Here and in [mulhi-intrins.ll](https://github.com/llvm/llvm-project/pull/78385/files#diff-8f0bf66a6d1e6e431bc85fb20aea9b7a5adbeffac5b04e629d36251d1e9dd463) above it may be useful to autogenerate the tests 
https://llvm.org/docs/TestingGuide.html#generating-assertions-in-regression-tests

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


More information about the llvm-commits mailing list