[mips] Enhance command line option "-mno-ldc1-sdc1" to expand base+index double
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 7 Sep 2013 00:52:30 +0000 (00:52 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 7 Sep 2013 00:52:30 +0000 (00:52 +0000)
commit3e6758541bb8c143f1f8d3ff550eba3dcc8d22e0
treed9f40df9d003dfd83664e55e6f8afc909901cf76
parentd65d2fde4eadcb40e80b361e4cf244c02dcc670b
[mips] Enhance command line option "-mno-ldc1-sdc1" to expand base+index double
precision loads and stores as well as reg+imm double precision loads and stores.

Previously, expansion of loads and stores was done after register allocation,
but now it takes place during legalization. As a result, users will see double
precision stores and loads being emitted to spill and restore 64-bit FP registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190235 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsInstrFPU.td
lib/Target/Mips/MipsSEISelLowering.cpp
lib/Target/Mips/MipsSEISelLowering.h
lib/Target/Mips/MipsSEInstrInfo.cpp
lib/Target/Mips/MipsSEInstrInfo.h
test/CodeGen/Mips/mno-ldc1-sdc1.ll