Remove LSR's use of the random AddrMode struct. These variables were
authorChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2013 15:04:40 +0000 (15:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 7 Jan 2013 15:04:40 +0000 (15:04 +0000)
commita07dcb1498ab1b1048bd03c664f3b7eb1f64310d
tree776f0842aa71ad99f15e1321f771100b905316cb
parente4ba75f43e2ab1480d119d2d4eb878256274e0fb
Remove LSR's use of the random AddrMode struct. These variables were
already in a class, just inline the four of them. I suspect that this
class could be simplified some to not always keep distinct variables for
these things, but it wasn't clear to me how given the usage so I opted
for a trivial and mechanical translation.

This removes one of the two remaining users of a header in include/llvm
which does nothing more than define a 4 member struct.

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