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

            Bug ID: 47560
           Summary: __builtin_round not constexpr
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

The builtin __builtin_constexpr is not constexpr, which is unfortunate as it is
nicely replaces with a single fcvtas instruction on arm64 architectures.

The same builtin on GCC is constexpr (though I don't think the C wrapped round
functions in cmath is).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to