[LLVMbugs] [Bug 22826] New: constexpr and CUDA

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 6 11:02:57 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22826

            Bug ID: 22826
           Summary: constexpr and CUDA
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jpienaar at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang considers constexpr as calls and does regular caller-callee analysis to
determine if it is valid to call a function from either a host or device
function. constexpr can be completely evaluated at compile which results in a
constant instead of a function call and so the same analysis need not occur.

-- 
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/20150306/4b3fcaff/attachment.html>


More information about the llvm-bugs mailing list