We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e83ad81 commit c0c1722Copy full SHA for c0c1722
llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -1431,8 +1431,8 @@ void AccessAnalysis::processMemAccesses() {
1431
typedef SmallVector<const Value *, 16> ValueVector;
1432
ValueVector TempObjects;
1433
1434
- UnderlyingObjects[Ptr] = {};
1435
SmallVector<const Value *, 16> &UOs = UnderlyingObjects[Ptr];
+ UOs = {};
1436
::getUnderlyingObjects(Ptr, UOs, LI);
1437
LLVM_DEBUG(dbgs()
1438
<< "Underlying objects for pointer " << *Ptr << "\n");
0 commit comments