From: Chad Rosier Date: Thu, 1 Oct 2015 13:09:44 +0000 (+0000) Subject: [AArch64] Update comment to reflect reality. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a46ce637f8f56d9e594a57011100d55361188e80;p=oota-llvm.git [AArch64] Update comment to reflect reality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249007 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp b/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp index de3930cd0ce..f648d0f2fc5 100644 --- a/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp +++ b/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp @@ -1181,8 +1181,8 @@ bool AArch64LoadStoreOpt::optimizeBlock(MachineBasicBlock &MBB) { ++NumPreFolded; break; } - // The immediate in the load/store is scaled by the size of the register - // being loaded. The immediate in the add we're looking for, + // The immediate in the load/store is scaled by the size of the memory + // operation. The immediate in the add we're looking for, // however, is not, so adjust here. int Value = getLdStOffsetOp(MI).getImm() * getMemScale(MI);