[all-commits] [llvm/llvm-project] 789708: Do not generate calls to the 128-bit function __mu...

Koutheir Attouchi via All-commits all-commits at lists.llvm.org
Fri Jun 11 03:46:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 789708617d2023dbb343c65120556b2e6a97044d
      https://github.com/llvm/llvm-project/commit/789708617d2023dbb343c65120556b2e6a97044d
  Author: Koutheir Attouchi <koutheir at gmail.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/umulo-128-legalisation-lowering.ll
    M llvm/test/CodeGen/Thumb/pr35836_2.ll
    M llvm/test/CodeGen/Thumb/umulo-128-legalisation-lowering.ll
    M llvm/test/CodeGen/Thumb2/umulo-128-legalisation-lowering.ll

  Log Message:
  -----------
  Do not generate calls to the 128-bit function __multi3() on 32-bit ARM

Re-applying this patch after bots failures. Should be fine now.

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




More information about the All-commits mailing list