https://bugs.llvm.org/show_bug.cgi?id=34941
Eli Friedman <efrie...@codeaurora.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
CC| |efrie...@codeaurora.org
--- Comment #1 from Eli Friedman <efrie...@codeaurora.org> ---
The standard lowering for llvm.floor.f64 on a target which doesn't support it
is a call to the C standard library's floor(). If you define a function named
floor() which doesn't implement the appropriate semantics, you're naturally
going to run into problems.
The only possible alternatives are to emit a complicated inline code sequence,
or define a new compiler-rt function which does exactly the same thing as libm
floor. But I don't see how either of those is really an improvement. So I
don't think there's anything to fix here.
--
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