Displaying 3 results from an estimated 3 matches for "getanalaysisifavali".
2016 Oct 19
2
LCSSA verification for the top-level loops
...lsystems.com>> wrote:
On Oct 14, 2016, at 9:54 AM, Igor Laevsky <igor at azulsystems.com<mailto:igor at azulsystems.com>> wrote:
Hi Michael,
Hi Igor,
Hi Michael,
Hi Michael,
What I was referring to is that we can write something like this inside LPPassManager iteration:
if (getAnalaysisIfAvaliable<LCSSAVerifier>()) { CurrentLoop->verifyLCSSA(); )
This will have less impact but feels a bit wrong.
Originally I didn’t like this idea, but the more I think about it the more I like it. Currently all loop passes use (or should use) getLoopAnalysisUsage to record their pass requirements...
2016 Oct 17
2
LCSSA verification for the top-level loops
...new verifyLoopAnalysis(Loop *L) method and call it for all loop passes. It will also require separate verifyPreservedLoopAnalysis(Loop *L). This seems like a cleanest solution. What do you think?
What I was referring to is that we can write something like this inside LPPassManager iteration:
if (getAnalaysisIfAvaliable<LCSSAVerifier>()) { CurrentLoop->verifyLCSSA(); )
This will have less impact but feels a bit wrong.
>
> Thanks,
> Michael
>
>>
>> — Igor
>>
>> On 14 Oct 2016, at 01:57, Mikhail Zolotukhin <mzolotukhin at apple.com> wrote:
>>
>>...
2016 Oct 14
2
LCSSA verification for the top-level loops
Hi Michael,
+CC llvm-dev
My guess is that it would be rather error prone to pinpoint exact places where we start populating new LPPassManager since it’s created lazily via LoopPass::assignPassManager. So we are risking to miss adding verifiers in some of the LPPassManager’s.
One similar idea is to introduce LCSSAVerifier function pass and make LCSSA pass to be dependant on it. That will allow