summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-19 23:26:18 +0000
committerEli Bendersky <eliben@google.com>2013-04-19 23:26:18 +0000
commit462123f66159a8c7ff34b87cb269955252be3ec0 (patch)
tree5f495953ce25c5de02c6f25dd95fe20650a77ae8 /include
parent97a62bf2a4a2d141aad8af3531c3b69934f134c1 (diff)
downloadllvm-462123f66159a8c7ff34b87cb269955252be3ec0.tar.gz
llvm-462123f66159a8c7ff34b87cb269955252be3ec0.tar.bz2
llvm-462123f66159a8c7ff34b87cb269955252be3ec0.tar.xz
Simplify the code in FastISel::tryToFoldLoad, add an assertion and fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/FastISel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index be14f749bf..471e9bfc40 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -123,7 +123,7 @@ public:
/// index value.
std::pair<unsigned, bool> getRegForGEPIndex(const Value *V);
- /// \brief We're checking to see if we can fold \p LI the \p FoldInst.
+ /// \brief We're checking to see if we can fold \p LI into \p FoldInst.
/// Note that we could have a sequence where multiple LLVM IR instructions
/// are folded into the same machineinstr. For example we could have:
/// A: x = load i32 *P