summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-19 22:53:50 +0000
committerDan Gohman <gohman@apple.com>2010-01-19 22:53:50 +0000
commit2b98bd23cb0bfa0dc09e1bcaef83a0e606e6ec1a (patch)
tree97f45bdbb889d34635172c0f6ea942f6e780325f /test
parentbbe2bbeac834dfe60fe98cfdeff9a9cc94858b7e (diff)
downloadexternal_llvm-2b98bd23cb0bfa0dc09e1bcaef83a0e606e6ec1a.zip
external_llvm-2b98bd23cb0bfa0dc09e1bcaef83a0e606e6ec1a.tar.gz
external_llvm-2b98bd23cb0bfa0dc09e1bcaef83a0e606e6ec1a.tar.bz2
Make SCEVAddRecExpr's getType return a pointer type when the add
has a pointer member. This helps reduce unnecessary bitcasting and uglygeps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/pr3495.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/pr3495.ll b/test/CodeGen/X86/pr3495.ll
index 4b62bf4..1795970 100644
--- a/test/CodeGen/X86/pr3495.ll
+++ b/test/CodeGen/X86/pr3495.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -stats |& grep {Number of reloads omited} | grep 1
-; RUN: llc < %s -march=x86 -stats |& grep {Number of available reloads turned into copies} | grep 1
-; RUN: llc < %s -march=x86 -stats |& grep {Number of machine instrs printed} | grep 40
+; RUN: llc < %s -march=x86 -stats |& grep {Number of loads added} | grep 2
+; RUN: llc < %s -march=x86 -stats |& grep {Number of register spills} | grep 1
+; RUN: llc < %s -march=x86 -stats |& grep {Number of machine instrs printed} | grep 38
; PR3495
; The loop reversal kicks in once here, resulting in one fewer instruction.