[all-commits] [llvm/llvm-project] a574f0: [RISCV] Disable use of i128 shift libcalls on RV32.

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Sep 8 14:42:35 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/shifts.ll

  Log Message:
  -----------
  [RISCV] Disable use of i128 shift libcalls on RV32.

Since i128 isn't a legal C type on RV32, I don't believe
libgcc implements these functions for RV32. compiler-rt
does implement them because i128 support is enabled
in order to handle long double.

This is consistent with 32-bit X86 and ARM.

Reviewed By: efriedma

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




More information about the All-commits mailing list