This is an archive of the discontinued LLVM Phabricator instance.

[ScopInfo] Introduce tryGetValueStored
ClosedPublic

Authored by grosser on Jul 18 2017, 3:18 PM.

Details

Summary

This makes code more readable and allows to reuse this functionality in
the future at other places.

Suggested-by Michael Kruse in post-commit review of r307660.

Diff Detail

Repository
rL LLVM

Event Timeline

grosser created this revision.Jul 18 2017, 3:18 PM
Meinersbur accepted this revision.Jul 19 2017, 3:39 AM
Meinersbur added inline comments.
include/polly/ScopInfo.h
899 ↗(On Diff #107189)

[Serious] Must be isAnyPHIKind(). AccessValue of ExitPHIs are also only the PHINode itself, not the value written.

This revision is now accepted and ready to land.Jul 19 2017, 3:39 AM
This revision was automatically updated to reflect the committed changes.