[mips] Set isAsCheapAsAMove flag on ADDiu and DADDiu, which enables
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 31 Oct 2012 18:37:55 +0000 (18:37 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 31 Oct 2012 18:37:55 +0000 (18:37 +0000)
commit497204a94b6ebe94b0cc9b9ef11eee7baf1df53b
tree65cace6203c0e12c77a630fbf7decd274b942de5
parentb586aae15edfec655ca0d950776e92cab66516b6
[mips] Set isAsCheapAsAMove flag on ADDiu and DADDiu, which enables
re-materialization of immediate loads.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167153 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/remat-immed-load.ll [new file with mode: 0644]