From 9c79f144369dbc9731644a019d2d6650cb9823c5 Mon Sep 17 00:00:00 2001 From: Haicheng Wu Date: Wed, 18 Jan 2017 21:12:10 +0000 Subject: [PATCH] [CodeGenPrepare] Fix a typo in the comment. NFC. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CodeGenPrepare.cpp b/lib/CodeGen/CodeGenPrepare.cpp index 934b470f13b..bfcedaceb64 100644 --- a/lib/CodeGen/CodeGenPrepare.cpp +++ b/lib/CodeGen/CodeGenPrepare.cpp @@ -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, -- 2.40.0