]> granicus.if.org Git - llvm/commitdiff
[CodeGenPrepare] Fix a typo in the comment. NFC.
authorHaicheng Wu <haicheng@codeaurora.org>
Wed, 18 Jan 2017 21:12:10 +0000 (21:12 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Wed, 18 Jan 2017 21:12:10 +0000 (21:12 +0000)
encode => endcode.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292438 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenPrepare.cpp

index 934b470f13b5fa5c000fb4e0c7e02739e56f3d6b..bfcedaceb64b486234a5930434ab9f28f7065ad6 100644 (file)
@@ -4255,7 +4255,7 @@ static bool hasSameExtUse(Instruction *Inst, const TargetLowering &TLI) {
 /// %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,