mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix typos
llvm-svn: 213285
This commit is contained in:
parent
c10a269e5f
commit
0968995f30
@ -205,7 +205,7 @@ def SDTPrefetch : SDTypeProfile<0, 4, [ // prefetch
|
||||
SDTCisPtrTy<0>, SDTCisSameAs<1, 2>, SDTCisSameAs<1, 3>, SDTCisInt<1>
|
||||
]>;
|
||||
|
||||
def SDTMemBarrier : SDTypeProfile<0, 5, [ // memory barier
|
||||
def SDTMemBarrier : SDTypeProfile<0, 5, [ // memory barrier
|
||||
SDTCisSameAs<0,1>, SDTCisSameAs<0,2>, SDTCisSameAs<0,3>, SDTCisSameAs<0,4>,
|
||||
SDTCisInt<0>
|
||||
]>;
|
||||
|
@ -273,17 +273,17 @@ bool SIInsertWaits::insertWait(MachineBasicBlock &MBB,
|
||||
continue;
|
||||
|
||||
NeedWait = true;
|
||||
|
||||
|
||||
if (Ordered[i]) {
|
||||
unsigned Value = LastIssued.Array[i] - Required.Array[i];
|
||||
|
||||
// adjust the value to the real hardware posibilities
|
||||
// Adjust the value to the real hardware possibilities.
|
||||
Counts.Array[i] = std::min(Value, WaitCounts.Array[i]);
|
||||
|
||||
} else
|
||||
Counts.Array[i] = 0;
|
||||
|
||||
// Remember on what we have waited on
|
||||
// Remember on what we have waited on.
|
||||
WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user