Do not generate calls to the 128-bit function __multi3() on 32-bit ARM
authorKoutheir Attouchi <koutheir@gmail.com>
Wed, 9 Jun 2021 15:02:14 +0000 (16:02 +0100)
committerRenato Golin <rengolin@microsoft.com>
Wed, 9 Jun 2021 15:21:16 +0000 (16:21 +0100)
commit64e9aa33020d68a98c30bf05362ffc1c1778890c
tree327d5232cc08b9565657e2ac80ef7f23f30c872b
parent96ca2d92b52bd97fcdce4c0ba2723399b005e0a9
Do not generate calls to the 128-bit function __multi3() on 32-bit ARM

The function __multi3() is undefined on 32-bit ARM, so a call to it
should never be emitted. Instead, plain instructions need to be
generated to perform 128-bit multiplications.

Differential Revision: https://reviews.llvm.org/D103906
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/umulo-128-legalisation-lowering.ll