summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-11-05 02:59:23 +0000
committerEli Bendersky <eliben@google.com>2012-11-05 02:59:23 +0000
commit6f6f55ee61513dc5e7b0e1448d0a38c922cb4df6 (patch)
tree4f6df29a7c94c8f5353c4bf28ab9a9afc753f1d5 /llvm
parentdce899962b7292efaad675101451af2e09fae544 (diff)
downloadbcm5719-llvm-6f6f55ee61513dc5e7b0e1448d0a38c922cb4df6.tar.gz
bcm5719-llvm-6f6f55ee61513dc5e7b0e1448d0a38c922cb4df6.zip
PR14256: SelectionDAGLowering was renamed to SelectionDAGBuilder a long time ago. Fix references to it in documentation and comments.
llvm-svn: 167378
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/CodeGenerator.rst3
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst
index 37a2eccd2ae..5fab76ec1a4 100644
--- a/llvm/docs/CodeGenerator.rst
+++ b/llvm/docs/CodeGenerator.rst
@@ -838,8 +838,7 @@ Initial SelectionDAG Construction
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The initial SelectionDAG is na\ :raw-html:`&iuml;`\ vely peephole expanded from
-the LLVM input by the ``SelectionDAGLowering`` class in the
-``lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp`` file. The intent of this pass
+the LLVM input by the ``SelectionDAGBuilder`` class. The intent of this pass
is to expose as much low-level, target-specific details to the SelectionDAG as
possible. This pass is mostly hard-coded (e.g. an LLVM ``add`` turns into an
``SDNode add`` while a ``getelementptr`` is expanded into the obvious
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 13f80fda3d6..580a30fcd2d 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/include/llvm/Target/TargetLowering.h
@@ -1264,7 +1264,7 @@ protected:
public:
//===--------------------------------------------------------------------===//
// Lowering methods - These methods must be implemented by targets so that
- // the SelectionDAGLowering code knows how to lower these.
+ // the SelectionDAGBuilder code knows how to lower these.
//
/// LowerFormalArguments - This hook must be implemented to lower the
OpenPOWER on IntegriCloud