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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to