summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-08 23:06:34 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-08 23:06:34 +0000
commitad6aedc7d980d407da4452ff3ed4592d3df1a3f7 (patch)
treefc738ed679ae9f1a32ec4efa9c2a9081fb098b8e /lib/CodeGen/SelectionDAG
parent0327244ec62f8bfbc5911b3df7253fe6aa9a51cf (diff)
downloadllvm-ad6aedc7d980d407da4452ff3ed4592d3df1a3f7.tar.gz
llvm-ad6aedc7d980d407da4452ff3ed4592d3df1a3f7.tar.bz2
llvm-ad6aedc7d980d407da4452ff3ed4592d3df1a3f7.tar.xz
Refactor the AddrMode class out of TLI to its own header file.
This class is used by LSR and a number of places in the codegen. This is the first step in de-coupling LSR from TLI, and creating a new interface in between them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-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 091aa7288f..8846247090 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6714,7 +6714,7 @@ static bool canFoldInAddressingMode(SDNode *N, SDNode *Use,
} else
return false;
- TargetLowering::AddrMode AM;
+ AddrMode AM;
if (N->getOpcode() == ISD::ADD) {
ConstantSDNode *Offset = dyn_cast<ConstantSDNode>(N->getOperand(1));
if (Offset)