<div dir="ltr">getUnderlyingObjects (the CodeGen one, not to be confused with llvm::GetUnderlyingObjects the IR one) never puts any PseudoSourceValue's in its objects list, except in the case where it's given one as its starting Value in which case it only puts that one in and returns.<div>

<div><br></div><div>Thus we don't need to test for PSV's every iteration through the loop, and can simplify away local variable MayAlias. Remove one call to Objects.clear() as all callers call with an empty UnderlyingObjectsVector.</div>

<div><br></div><div>I claim there's no functionality change in this patch. All tests still pass. Convinced?</div><div><br></div><div>Nick</div><div><br></div></div></div>