mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Clarify comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7332907186
commit
9854f197f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user