[llvm-dev] compiler-rt, v4.0: arm\udivsi3.S broken for division by zero
Joerg Sonnenberger via llvm-dev
llvm-dev at lists.llvm.org
Wed Apr 5 04:40:29 PDT 2017
On Tue, Mar 21, 2017 at 07:32:50PM +0100, Peter Jakubek via llvm-dev wrote:
> I think the current implementation for the call "bl __aeabi_idiv0" in
> builtins\arm\udivsi3.S is broken.
> At least for the case that __aeabi_idiv0 returns. (the provided
> implementation does)
IMO it shouldn't. But it is kind of difficult to provide a good
implementation in general as it will depend on system-specific
interfaces, i.e. to raise the signal.
More information about the llvm-dev