summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/Thumb2SizeReduction.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-14 20:35:46 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-14 20:35:46 +0000
commit9854f197f3385713c77df8cea0e39a231b91a650 (patch)
tree17391664580374a41cda48ca88952a0ef54aa962 /lib/Target/ARM/Thumb2SizeReduction.cpp
parent733290718620d989cde2e6a1c3e616aa39ae58d5 (diff)
downloadllvm-9854f197f3385713c77df8cea0e39a231b91a650.tar.gz
llvm-9854f197f3385713c77df8cea0e39a231b91a650.tar.bz2
llvm-9854f197f3385713c77df8cea0e39a231b91a650.tar.xz
Clarify comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Thumb2SizeReduction.cpp')
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/Thumb2SizeReduction.cpp b/lib/Target/ARM/Thumb2SizeReduction.cpp
index 0c3962dd12..67768e5068 100644
--- a/lib/Target/ARM/Thumb2SizeReduction.cpp
+++ b/lib/Target/ARM/Thumb2SizeReduction.cpp
@@ -217,8 +217,8 @@ Thumb2SizeReduce::VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry,
/// 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;