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

Avoid compiler warning: comparison between signed and unsigned integer.

llvm-svn: 116119
This commit is contained in:
Evan Cheng 2010-10-08 23:01:57 +00:00
parent c14c1d2e21
commit 7904166763

View File

@ -529,7 +529,7 @@ void ScheduleDAGInstrs::ComputeOperandLatency(SUnit *Def, SUnit *Use,
if (DefIdx != -1) {
const MachineOperand &MO = DefMI->getOperand(DefIdx);
if (MO.isReg() && MO.isImplicit() &&
DefIdx >= DefMI->getDesc().getNumOperands()) {
DefIdx >= (int)DefMI->getDesc().getNumOperands()) {
// This is an implicit def, getOperandLatency() won't return the correct
// latency. e.g.
// %D6<def>, %D7<def> = VLD1q16 %R2<kill>, 0, ..., %Q3<imp-def>