HomePhabricator

Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC)

Authored by aaronpuchert on May 6 2021, 2:07 PM.

Description

Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC)

We were modifying precisely when intersecting the lock sets of multiple
predecessors without back edge. That's no coincidence: we can't modify
on back edges, it doesn't make sense to modify at the end of a function,
and otherwise we always want to intersect on forward edges, because we
can build a new lock set for those.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101755

Details

Committed
aaronpuchertMay 6 2021, 2:07 PM
Reviewer
aaron.ballman
Differential Revision
D101755: Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC)
Parents
rGfca10c8808ff: [gn build] Port 83af66e18e3d
Branches
Unknown
Tags
Unknown