Consider addrspaces in canLosslesslyBitCastTo()
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 31 Aug 2014 19:19:57 +0000 (19:19 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 31 Aug 2014 19:19:57 +0000 (19:19 +0000)
commit30392bf19168190fff7cdd2afd48a86714aa9bf4
tree567b9c99ace253e3df29e1b7d866947f3988a721
parent363d0d273896d5e0ae595547b99fefadc5790819
Consider addrspaces in canLosslesslyBitCastTo()

Make this conservatively correct and report false for different
address spaces, which might require a nontrivial translation.

Based on the few uses of this, I don't think this currently
breaks anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Type.cpp