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)
commitfb88aca3487d736ed9607f705c89e57ce35f899d
treeeb38de4602b51c1669142edf0a748ea7708785c4
parente83379e8e4bd462a2fcd44a48accab9270338d0b
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.

llvm-svn: 239261
llvm/lib/Transforms/Scalar/NaryReassociate.cpp