OSDN Git Service

When printing a SCEVUnknown with pointer type, don't print an
authorDan Gohman <gohman@apple.com>
Fri, 1 May 2009 17:02:22 +0000 (17:02 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 1 May 2009 17:02:22 +0000 (17:02 +0000)
commit9032b78c987d08b9e1dd25b6ab94b305e717832e
treef7b99aff9a7663f4c84d088b378c11d3c51534cb
parent80dcdee0f48820ecea86c15768324945bb0d68d1
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
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/max-trip-count.ll