summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/DAGCombiner.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
commit56d433dffe02e14cafaab44d2628e20dc0bf26fe (patch)
treec68fa6b5f3449253eaa889cd05597a3b81377878 /lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parenta07dcb1498ab1b1048bd03c664f3b7eb1f64310d (diff)
downloadllvm-56d433dffe02e14cafaab44d2628e20dc0bf26fe.tar.gz
llvm-56d433dffe02e14cafaab44d2628e20dc0bf26fe.tar.bz2
llvm-56d433dffe02e14cafaab44d2628e20dc0bf26fe.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b7a5f29fcd..ff00d0dd16 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6825,7 +6825,7 @@ static bool canFoldInAddressingMode(SDNode *N, SDNode *Use,
} else
return false;
- AddrMode AM;
+ TargetLowering::AddrMode AM;
if (N->getOpcode() == ISD::ADD) {
ConstantSDNode *Offset = dyn_cast<ConstantSDNode>(N->getOperand(1));
if (Offset)