[llvm] r292438 - [CodeGenPrepare] Fix a typo in the comment. NFC.

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 13:12:10 PST 2017


Author: haicheng
Date: Wed Jan 18 15:12:10 2017
New Revision: 292438

URL: http://llvm.org/viewvc/llvm-project?rev=292438&view=rev
Log:
[CodeGenPrepare] Fix a typo in the comment. NFC.

encode => endcode.

Differential Revision: https://reviews.llvm.org/D28866

Modified:
    llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp

Modified: llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp?rev=292438&r1=292437&r2=292438&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp Wed Jan 18 15:12:10 2017
@@ -4255,7 +4255,7 @@ static bool hasSameExtUse(Instruction *I
 /// %ld = load i32* %addr
 /// %zext = zext i32 %ld to i64
 /// %add = add nuw i64 %zext, 4
-/// \encode
+/// \endcode
 /// Thanks to the promotion, we can match zext(load i32*) to i64.
 bool CodeGenPrepare::extLdPromotion(TypePromotionTransaction &TPT,
                                     LoadInst *&LI, Instruction *&Inst,




More information about the llvm-commits mailing list