When creating cast scevs, canonicalize the destination type. This
authorDan Gohman <gohman@apple.com>
Fri, 1 May 2009 16:44:18 +0000 (16:44 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 1 May 2009 16:44:18 +0000 (16:44 +0000)
commit10b9479f555b27521062d1303ed43e11b69f7873
treec81df0e116412ffbc2020ba608e15f61b50ebc06
parentfbccdef1064dabe3b50e69646cbdddddbc8e7db2
When creating cast scevs, canonicalize the destination type. This
avoids duplicate scevs that differ only in type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70549 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp