summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-07 15:14:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-07 15:14:13 +0000
commit95f83e01557c31b61c807714004cef1ffba087ba (patch)
treeaaa0e347fd4a06900a79c16c1b64476059442ba9 /llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
parent6e479322aab6e1e882d40a3b4cb4a64046b6fc0b (diff)
downloadbcm5719-llvm-95f83e01557c31b61c807714004cef1ffba087ba.tar.gz
bcm5719-llvm-95f83e01557c31b61c807714004cef1ffba087ba.zip
Sink AddrMode back into TargetLowering, removing one of the most
peculiar headers under include/llvm. This struct still doesn't make a lot of sense, but it makes more sense down in TargetLowering than it did before. llvm-svn: 171739
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index f239553b0b2..d513c96bac3 100644
--- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -823,7 +823,7 @@ namespace {
/// ExtAddrMode - This is an extended version of TargetLowering::AddrMode
/// which holds actual Value*'s for register values.
-struct ExtAddrMode : public AddrMode {
+struct ExtAddrMode : public TargetLowering::AddrMode {
Value *BaseReg;
Value *ScaledReg;
ExtAddrMode() : BaseReg(0), ScaledReg(0) {}
OpenPOWER on IntegriCloud