diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-06-24 19:01:25 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-06-24 19:01:25 +0000 |
commit | 25eba399cb7b4f9691cc63cb3829a00286c70bc4 (patch) | |
tree | abe93353664ce9e87a3df269e2090b7440a3f81a /test/CodeGen/Mips/largeimmprinting.ll | |
parent | 535e58b910199fabcf7db45184bf679e38e42068 (diff) | |
download | llvm-25eba399cb7b4f9691cc63cb3829a00286c70bc4.tar.gz llvm-25eba399cb7b4f9691cc63cb3829a00286c70bc4.tar.bz2 llvm-25eba399cb7b4f9691cc63cb3829a00286c70bc4.tar.xz |
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
Diffstat (limited to 'test/CodeGen/Mips/largeimmprinting.ll')
-rw-r--r-- | test/CodeGen/Mips/largeimmprinting.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/largeimmprinting.ll b/test/CodeGen/Mips/largeimmprinting.ll index fd7ae9e0ac..fcc20f7994 100644 --- a/test/CodeGen/Mips/largeimmprinting.ll +++ b/test/CodeGen/Mips/largeimmprinting.ll @@ -8,7 +8,7 @@ define void @f() nounwind { entry: ; CHECK: lui $at, 65534 ; CHECK: addu $at, $sp, $at -; CHECK: addiu $sp, $at, -16 +; CHECK: addiu $sp, $at, -24 ; CHECK: .cprestore 65536 %agg.tmp = alloca %struct.S1, align 1 |