[all-commits] [llvm/llvm-project] 124bcc: [X86] Disable muloti4 libcalls for x86-64.

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Sep 9 10:03:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 124bcc1a139d744a71a82a89e90b5058573f2697
      https://github.com/llvm/llvm-project/commit/124bcc1a139d744a71a82a89e90b5058573f2697
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/muloti.ll
    M llvm/test/CodeGen/X86/smulo-128-legalisation-lowering.ll
    M llvm/test/CodeGen/X86/vec_smulo.ll

  Log Message:
  -----------
  [X86] Disable muloti4 libcalls for x86-64.

This library function only exists in compiler-rt not libgcc. So
this would fail to link unless we were linking with compiler-rt.

This is consistent with the recent removal of calls to mulodi4 on
32-bit targets like D108928.

I suppose maybe we could keep the libcalls for platforms like
Darwin that use compiler-rt exclusively?

Reviewed By: nickdesaulniers, MaskRay

Differential Revision: https://reviews.llvm.org/D109385




More information about the All-commits mailing list