summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/2008-07-15-SmallSection.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2011-06-24 17:55:19 +0000
committerAkira Hatanaka <ahatanak@gmail.com>2011-06-24 17:55:19 +0000
commit8b2b713f686a6d4908b73c76759447aa87b62c4a (patch)
treedd636c3d6a359cfc55bf12896b8e4ea2a7db5de2 /test/CodeGen/Mips/2008-07-15-SmallSection.ll
parent35f4fb34ff60b8f23b2c9691b312bc67cac95eb4 (diff)
downloadllvm-8b2b713f686a6d4908b73c76759447aa87b62c4a.tar.gz
llvm-8b2b713f686a6d4908b73c76759447aa87b62c4a.tar.bz2
llvm-8b2b713f686a6d4908b73c76759447aa87b62c4a.tar.xz
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
Diffstat (limited to 'test/CodeGen/Mips/2008-07-15-SmallSection.ll')
-rw-r--r--test/CodeGen/Mips/2008-07-15-SmallSection.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/2008-07-15-SmallSection.ll b/test/CodeGen/Mips/2008-07-15-SmallSection.ll
index 91efd68622..4795e478f7 100644
--- a/test/CodeGen/Mips/2008-07-15-SmallSection.ll
+++ b/test/CodeGen/Mips/2008-07-15-SmallSection.ll
@@ -7,7 +7,7 @@
; RUN: not grep {sbss} %t1
; RUN: not grep {gp_rel} %t1
; RUN: grep {\%hi} %t1 | count 2
-; RUN: grep {\%lo} %t1 | count 2
+; RUN: grep {\%lo} %t1 | count 3
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "mipsallegrexel-unknown-psp-elf"