[all-commits] [llvm/llvm-project] 49b0c6: [DivRemPairs][Mips] Pre-commit test for Mips target

Jim Lin via All-commits all-commits at lists.llvm.org
Sun May 15 23:42:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49b0c605424b7e54cd7c287563f3650bcd7f0382
      https://github.com/llvm/llvm-project/commit/49b0c605424b7e54cd7c287563f3650bcd7f0382
  Author: Jim Lin <jim at andestech.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    A llvm/test/Transforms/DivRemPairs/Mips/div-expanded-rem-pair.ll
    A llvm/test/Transforms/DivRemPairs/Mips/div-rem-pairs.ll
    A llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg

  Log Message:
  -----------
  [DivRemPairs][Mips] Pre-commit test for Mips target

Copied from PowerPC.

Reviewed By: sdardis

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


  Commit: 0a0d6489ef2e46c9b365c5db77dddd13b681c2d1
      https://github.com/llvm/llvm-project/commit/0a0d6489ef2e46c9b365c5db77dddd13b681c2d1
  Author: Jim Lin <jim at andestech.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M llvm/lib/Target/Mips/CMakeLists.txt
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    A llvm/lib/Target/Mips/MipsTargetTransformInfo.cpp
    A llvm/lib/Target/Mips/MipsTargetTransformInfo.h
    M llvm/test/Transforms/DivRemPairs/Mips/div-expanded-rem-pair.ll
    M llvm/test/Transforms/DivRemPairs/Mips/div-rem-pairs.ll

  Log Message:
  -----------
  [Mips] Implement hasDivRemOp()

SDIVREM and UDIVREM can be customized lowered in MipsSE.

Fix https://github.com/llvm/llvm-project/issues/54991.

Reviewed By: sdardis

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


Compare: https://github.com/llvm/llvm-project/compare/924acb624f58...0a0d6489ef2e


More information about the All-commits mailing list