HomePhabricator

Reland [OpenMPOpt] ICV tracking for calls

Authored by sstefan1 on Aug 30 2020, 2:27 AM.

Description

Reland [OpenMPOpt] ICV tracking for calls

The problem with module slice has been addressed in D86319

Introduce two new AAs. AAICVTrackerFunctionReturned which checks if a
function can have a unique ICV value after it is finished, and
AAICVCallSiteReturned which checks AAICVTrackerFunctionReturned for a
call site. This enables us to check the value of a call and if it
changes the ICV. This also changes the approach in
getReplacementValues() to a worklist-based approach so we can explore
all relevant BBs.

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

Details

Committed
sstefan1Aug 30 2020, 2:27 AM
Differential Revision
D85544: [OpenMPOpt] ICV tracking for calls
Parents
rG8d8ce85b235c: [Attributor] Introduce module slice.
Branches
Unknown
Tags
Unknown