Make NaryReassociate pass the address space to isLegalAddressingMode
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 7 Jun 2015 20:17:42 +0000 (20:17 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 7 Jun 2015 20:17:42 +0000 (20:17 +0000)
commit4d1a5272ecffb4611eb0f20cfca718cee2170277
treee30c057e867c85a3849a26c4d1944f0474f1ea87
parent4e8236ed753e696ab281fdc1d054ad886cfd9cfd
Make NaryReassociate pass the address space to isLegalAddressingMode

No test since the kinds of transforms this prevents seem to not really
be relevant for SI's different addressing modes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/NaryReassociate.cpp