[Mips] Remove isMoveReg=1 from wrdsp and rddsp instructions
authorYashwant Singh <Yashwant.Singh@amd.com>
Mon, 3 Jul 2023 15:23:05 +0000 (20:53 +0530)
committerYashwant Singh <Yashwant.Singh@amd.com>
Mon, 3 Jul 2023 15:49:09 +0000 (21:19 +0530)
commit0f58cfeb9fff4f0490a798d65038fd43c5178c2c
treed41cd6912714a6c62701924d1045787f52e7b564
parenta3e48ad9b8106d86eee0d9b0566973dd4b5daaad
[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
llvm/lib/Target/Mips/MicroMipsDSPInstrInfo.td
llvm/lib/Target/Mips/MipsDSPInstrInfo.td
llvm/lib/Target/Mips/MipsSEInstrInfo.cpp