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 7e6f960 commit debf11fCopy full SHA for debf11f
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -1272,14 +1272,15 @@ struct DSEState {
1272
return Locations;
1273
}
1274
1275
- if (auto Loc = getLocForWrite(I))
1276
- Locations.push_back(std::make_pair(*Loc, false));
1277
-
1278
if (ConsiderInitializesAttr) {
1279
for (auto &MemLoc : getInitializesArgMemLoc(I, BatchAA)) {
1280
Locations.push_back(std::make_pair(MemLoc, true));
1281
+ return Locations;
1282
+
+ if (auto Loc = getLocForWrite(I))
1283
+ Locations.push_back(std::make_pair(*Loc, false));
1284
1285
1286
0 commit comments