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: unassignedclangb...@nondot.org
          Reporter: gonzalob...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to