Fix creating bitcasts between address spaces in SCEV.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 21 Oct 2013 18:41:10 +0000 (18:41 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 21 Oct 2013 18:41:10 +0000 (18:41 +0000)
commit4784bb6f447f8078732a45ee23ccab0f93742054
treec1433017eca4c80ea3d0b43e8752f74fc7616345
parent325ee6e115e97a2e0c2a37d69d25269dabbe77df
Fix creating bitcasts between address spaces in SCEV.

The test before wasn't successfully testing this
since it was missing the datalayout piece to change
the size of the second address space.

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