[all-commits] [llvm/llvm-project] 0f58cf: [Mips] Remove isMoveReg=1 from wrdsp and rddsp ins...

Yashwant Singh via All-commits all-commits at lists.llvm.org
Mon Jul 3 08:50:07 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f58cfeb9fff4f0490a798d65038fd43c5178c2c
  Author: Yashwant Singh <Yashwant.Singh at amd.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M llvm/lib/Target/Mips/MicroMipsDSPInstrInfo.td
    M llvm/lib/Target/Mips/MipsDSPInstrInfo.td
    M llvm/lib/Target/Mips/MipsSEInstrInfo.cpp

  Log Message:
  [Mips] Remove isMoveReg=1 from wrdsp and rddsp instructions

This is a prep patch for D150388. Treating rddsp and wrdsp as copy
instructions was causing test failures as we tried using isCopyInstr()
hook to query target-specific copy instructions for LiveRangeSplitting.

As suggested, removing 'isMoveReg = 1' from wrdsp and rddsp so they
aren't considered simple copy-like instructions for the moment.

Reviewed By: sdardis

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

More information about the All-commits mailing list