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

Reply via email to