This is an archive of the discontinued LLVM Phabricator instance.

[test][LoopUnroll] Cleanup FullUnroll.ll
ClosedPublic

Authored by aeubanks on Aug 7 2020, 6:00 PM.

Details

Summary

This is in preparation for enabling proper handling of optnone under the
NPM. Most optimizations won't run on an optnone function.

Previously the test would rely on lots of optimizations to optimize the
IR into a simple infinite loop. This is an optnone function, so clearly
that shouldn't be the case.

This IR was found by printing the module before the LoopFullUnrollerPass ran.

Diff Detail

Event Timeline

aeubanks created this revision.Aug 7 2020, 6:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2020, 6:00 PM
aeubanks requested review of this revision.Aug 7 2020, 6:00 PM

friendly ping :)

asbirlea accepted this revision.Aug 14 2020, 12:12 PM

Thank you for making this test more resilient.

This revision is now accepted and ready to land.Aug 14 2020, 12:12 PM
This revision was landed with ongoing or failed builds.Aug 14 2020, 4:06 PM
This revision was automatically updated to reflect the committed changes.