llvm/test/Transforms
Mikael Holmen 828d0d9643 [LSR] Pointers with different address spaces are considered incompatible.
Summary:
Function isCompatibleIVType is already used as a guard before the call to

 SE.getMinusSCEV(OperExpr, PrevExpr);

in LSRInstance::ChainInstruction. getMinusSCEV requires the expressions
to be of the same type, so we now consider two pointers with different
address spaces to be incompatible, since it is possible that the pointers
in fact have different sizes.

Reviewers: qcolombet, eli.friedman

Reviewed By: qcolombet

Subscribers: nhaehnle, Ka-Ka, llvm-commits, mzolotukhin

Differential Revision: https://reviews.llvm.org/D29885

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295033 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-14 06:37:42 +00:00
..
2017-01-22 20:28:56 +00:00
2017-02-07 23:59:07 +00:00
2017-01-22 20:28:56 +00:00
2017-01-22 20:28:56 +00:00
2017-02-12 22:12:20 +00:00