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: unassignedclangb...@nondot.org
          Reporter: li...@carewolf.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to