[llvm-bugs] [Bug 31446] New: [feature-request] make vector intrinsics constexpr

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 21 04:48:00 PST 2016


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

            Bug ID: 31446
           Summary: [feature-request] make vector intrinsics constexpr
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Linear algebra libraries like Eigen3 explicitly vectorize their code. However,
because vector intrinsics (SSE, AVX,...) are not constexpr, it is impossible
for them to provide an interface that can easily be used both at compile-time
and run-time.

Duplicating all their code for running at compile-time is not an option.

A first step towards allowing these libraries to be usable within constant
expressions would be to make the vector intrinsics constexpr and allowing their
evaluation at compile-time.

-- 
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/20161221/7bea831e/attachment.html>


More information about the llvm-bugs mailing list