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