Change the chain input of nodes that load the address of a function. This change
authorAkira Hatanaka <ahatanak@gmail.com>
Fri, 24 Jun 2011 19:01:25 +0000 (19:01 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Fri, 24 Jun 2011 19:01:25 +0000 (19:01 +0000)
commit25eba399cb7b4f9691cc63cb3829a00286c70bc4
treeabe93353664ce9e87a3df269e2090b7440a3f81a
parent535e58b910199fabcf7db45184bf679e38e42068
Change the chain input of nodes that load the address of a function. This change
 enables SelectionDAG::getLoad at MipsISelLowering.cpp:1914 to return a
pre-existing node instead of redundantly create a new node every time it is
called.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/alloca.ll
test/CodeGen/Mips/i64arg.ll
test/CodeGen/Mips/largeimmprinting.ll