1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

[CodeGenPrepare] Fix a typo in the comment. NFC.

encode => endcode.

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

llvm-svn: 292438
This commit is contained in:
Haicheng Wu 2017-01-18 21:12:10 +00:00
parent e1b9650e36
commit a5b100a7d1

View 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,