commit | fed7884d87db67c640cd8b7b2924b7b9095303b6 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Jan 30 19:50:17 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Jan 30 19:50:17 2017 +0000 |
tree | c80b1436ab7575a7cec758b1943159db49e024b4 | |
parent | 1ae1b9397e9e60438c22e240fb989ecfa39bb527 [diff] |
LSR: Don't drop address space when type doesn't match For targets with different addressing modes in each address space, if this is dropped querying isLegalAddressingMode later with this will give a nonsense result, breaking the isLegalUse assertions. This is a candidate for the 4.0 release branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293542 91177308-0d34-0410-b5e6-96231b3b80d8