[llvm-bugs] [Bug 47560] New: __builtin_round not constexpr
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 17 02:30:05 PDT 2020
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: unassignedclangbugs at nondot.org
Reporter: linux at carewolf.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200917/cd521b24/attachment.html>
More information about the llvm-bugs
mailing list