[llvm] [NVPTX] Support llvm.exp2 for f32 and vector of f32 (PR #120519)

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 00:50:26 PST 2024


================
@@ -0,0 +1,47 @@
+; RUN: llc < %s -march=nvptx64 -mcpu=sm_52 -mattr=+ptx86 | FileCheck --check-prefixes=CHECK %s
+; RUN: %if ptxas-12.6 %{ llc < %s -march=nvptx64 -mcpu=sm_52 -mattr=+ptx86 | %ptxas-verify -arch=sm_52 %}
----------------
durga4github wrote:

optional: Nothing wrong with using 12.6 version,
Can we use a lesser ptx version since the instruction is available from sm_52 onwards (to get wider coverage)?
(let's say 12.0 or something)

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


More information about the llvm-commits mailing list