mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-27 08:26:23 +00:00
use range-based for-loop; NFCI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2267264ceb
commit
57f70578fa
@ -167,10 +167,7 @@ static void getUnderlyingObjectsForInstr(const MachineInstr *MI,
|
||||
SmallVector<Value *, 4> Objs;
|
||||
getUnderlyingObjects(V, Objs, DL);
|
||||
|
||||
for (SmallVectorImpl<Value *>::iterator I = Objs.begin(), IE = Objs.end();
|
||||
I != IE; ++I) {
|
||||
V = *I;
|
||||
|
||||
for (Value *V : Objs) {
|
||||
if (!isIdentifiedObject(V)) {
|
||||
Objects.clear();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user