diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-18 21:12:10 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-01-18 21:12:10 +0000 |
commit | 8ce2d14356a690201c813b619cf0ab3c06b92339 (patch) | |
tree | 2da3981d043122c133b48de742ab551f031b5ad0 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | fe4890a68bc807c057f917285a95d0992f67b9d8 (diff) | |
download | bcm5719-llvm-8ce2d14356a690201c813b619cf0ab3c06b92339.tar.gz bcm5719-llvm-8ce2d14356a690201c813b619cf0ab3c06b92339.zip |
[CodeGenPrepare] Fix a typo in the comment. NFC.
encode => endcode.
Differential Revision: https://reviews.llvm.org/D28866
llvm-svn: 292438
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 934b470f13b..bfcedaceb64 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/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, |