https://bugs.llvm.org/show_bug.cgi?id=17686
Simon Pilgrim <llvm-...@redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed By Commit(s)| |348251
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #10 from Simon Pilgrim <llvm-...@redking.me.uk> ---
(In reply to Paul.Zimmermann from comment #8)
> I suggest to change the code as follows:
>
> result = select (x < 0x8000000000000000), fp_to_sint(x), 0x8000000000000000
> + fp_to_sint(x - 0x8000000000000000)
>
> This should not raise any exception.
Fixed by rL348251 which added a TargetLowering::shouldUseStrictFP_TO_INT
override to allow the opt-in use of the above code.
--
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