[llvm-commits] [llvm] r113846 - /llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp
Jim Grosbach
grosbach at apple.com
Tue Sep 14 13:35:46 PDT 2010
Author: grosbach
Date: Tue Sep 14 15:35:46 2010
New Revision: 113846
URL: http://llvm.org/viewvc/llvm-project?rev=113846&view=rev
Log:
Clarify comment
Modified:
llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp
Modified: llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp?rev=113846&r1=113845&r2=113846&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp Tue Sep 14 15:35:46 2010
@@ -217,8 +217,8 @@
/// Old opcode has an optional def of CPSR.
if (HasCC)
return true;
- // If both old opcode does not implicit CPSR def, then it's not ok since
- // these new opcodes CPSR def is not meant to be thrown away. e.g. CMP.
+ // If old opcode does not implicitly define CPSR, then it's not ok since
+ // these new opcodes' CPSR def is not meant to be thrown away. e.g. CMP.
if (!HasImplicitCPSRDef(MI->getDesc()))
return false;
HasCC = true;
More information about the llvm-commits
mailing list