From 462123f66159a8c7ff34b87cb269955252be3ec0 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Fri, 19 Apr 2013 23:26:18 +0000 Subject: 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 --- include/llvm/CodeGen/FastISel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm') diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index be14f74..471e9bf 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -123,7 +123,7 @@ public: /// index value. std::pair 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 -- cgit v1.1