Prevent generation of redundant addiu instructions that compute address of
authorAkira Hatanaka <ahatanak@gmail.com>
Fri, 24 Jun 2011 17:55:19 +0000 (17:55 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Fri, 24 Jun 2011 17:55:19 +0000 (17:55 +0000)
commit8b2b713f686a6d4908b73c76759447aa87b62c4a
treedd636c3d6a359cfc55bf12896b8e4ea2a7db5de2
parent35f4fb34ff60b8f23b2c9691b312bc67cac95eb4
Prevent generation of redundant addiu instructions that compute address of
static variables or functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133803 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelDAGToDAG.cpp
test/CodeGen/Mips/2008-07-15-SmallSection.ll
test/CodeGen/Mips/internalfunc.ll
test/CodeGen/Mips/o32_cc_byval.ll