aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/ScalarEvolution
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-01 17:02:22 +0000
committerDan Gohman <gohman@apple.com>2009-05-01 17:02:22 +0000
commit9032b78c987d08b9e1dd25b6ab94b305e717832e (patch)
treef7b99aff9a7663f4c84d088b378c11d3c51534cb /test/Analysis/ScalarEvolution
parent80dcdee0f48820ecea86c15768324945bb0d68d1 (diff)
downloadexternal_llvm-9032b78c987d08b9e1dd25b6ab94b305e717832e.zip
external_llvm-9032b78c987d08b9e1dd25b6ab94b305e717832e.tar.gz
external_llvm-9032b78c987d08b9e1dd25b6ab94b305e717832e.tar.bz2
When printing a SCEVUnknown with pointer type, don't print an
artificial "ptrtoint", as it tends to clutter up complicated expressions. The cast operators now print both source and destination types, which is usually sufficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/ScalarEvolution')
-rw-r--r--test/Analysis/ScalarEvolution/max-trip-count.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/ScalarEvolution/max-trip-count.ll b/test/Analysis/ScalarEvolution/max-trip-count.ll
index ab88f13..0567414 100644
--- a/test/Analysis/ScalarEvolution/max-trip-count.ll
+++ b/test/Analysis/ScalarEvolution/max-trip-count.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -analyze -scalar-evolution -disable-output \
-; RUN: | grep {\{(ptrtoint i32\\* %d to iPTR),+,4\}<bb>}
+; RUN: | grep {\{%d,+,4\}<bb>}
define void @foo(i32* nocapture %d, i32 %n) nounwind {
entry: