[LLVMbugs] [Bug 23674] New: llc uses feature rsqrt.approx.ftz.f64 that requires a later version

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 27 01:19:02 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23674

            Bug ID: 23674
           Summary: llc uses feature rsqrt.approx.ftz.f64 that requires a
                    later version
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PTX
          Assignee: unassignedbugs at nondot.org
          Reporter: hahnjo at hahnjo.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm using the trunk version of clang-omp and it tries to compile the CUDA
library libdevice with the following commands (a bit simplified):

$ opt <cuda-dir>/nvvm/libdevice/libdevice.compute_35.10.bc -O1 -nvvm-reflect -o
libdevice.bc
$ llc libdevice.bc -o libdevice.ptx -mcpu=sm_35
$ ptxas libdevice.bc -o libdevice.cubin -arch sm_35

CUDA Toolkit 7.0.28 then complains:
ptxas libdevice.ptx, line 19566; error   : Feature 'rsqrt.approx.ftz.f64'
requires PTX ISA .version 4.0 or later
[...]

Could as well be an error in libdevice...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150527/1ecf5977/attachment.html>


More information about the llvm-bugs mailing list