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 1151516 commit c811ea4Copy full SHA for c811ea4
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -2241,8 +2241,7 @@ DSEState::eliminateDeadDefs(const MemoryLocationWrapper &KillingLocWrapper) {
2241
if (!DebugCounter::shouldExecute(MemorySSACounter))
2242
continue;
2243
if (isMemTerminatorInst(KillingLocWrapper.DefInst)) {
2244
- if (!(KillingLocWrapper.UnderlyingObject ==
2245
- DeadLocWrapper.UnderlyingObject))
+ if (KillingLocWrapper.UnderlyingObject != DeadLocWrapper.UnderlyingObject)
2246
2247
LLVM_DEBUG(dbgs() << "DSE: Remove Dead Store:\n DEAD: "
2248
<< *DeadLocWrapper.DefInst << "\n KILLER: "
0 commit comments