[llvm] [NVPTX] Add support for f16 fabs (PR #116107)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 11:19:19 PST 2024


================
@@ -0,0 +1,99 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; ## Some FP16 support but not for abs
+; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_53  \
----------------
AlexMaclean wrote:

Okay, I've updated the cases to include each of the following:
- no f16 abs due to insufficient hardware
- no f16 abs due to insufficient ptx version
- no f16 abs due to explicit disable
- f16 abs supported

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


More information about the llvm-commits mailing list