This is an archive of the discontinued LLVM Phabricator instance.

[Coroutine] Improve coro-elide-musttail.ll test
ClosedPublic

Authored by lxfind on Jan 22 2021, 10:14 AM.

Details

Summary

The test wasn't sensitive to alias analysis. As you can seen from D95117 when AA is added by default this is affected.
Updating the test so that it coveres both cases for AA analysis.
Note that this patch depends on D95117 to land first.

Diff Detail

Event Timeline

lxfind created this revision.Jan 22 2021, 10:14 AM
lxfind requested review of this revision.Jan 22 2021, 10:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2021, 10:14 AM

what about a separate RUN line with an emtpy AA pipeline: -aa-pipeline=?

what about a separate RUN line with an emtpy AA pipeline: -aa-pipeline=?

By the way, what's the equivalent of "-aa-pipeline=" for the old pass manager? It doesn't seem to have an effect.

I think by default the legacy PM in opt only uses basic-aa, -disable-basic-aa gets rid of that.

lxfind updated this revision to Diff 318603.Jan 22 2021, 12:06 PM

Add the case when AA is disabled

aeubanks accepted this revision.Jan 22 2021, 12:14 PM

I don't know enough about coro-elide to LGTM that part, but the AA part makes sense.

This revision is now accepted and ready to land.Jan 22 2021, 12:14 PM
This revision was automatically updated to reflect the committed changes.