This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix thinlto-debug-pm.c in preparation for -enable-npm-optnone
ClosedPublic

Authored by aeubanks on Aug 14 2020, 5:31 PM.

Details

Summary

This fails due to the clang invocation running at -O0, producing an optnone function.
Then even with -O2 in the later invocations, LoopVectorizePass doesn't run on the optnone function.
So split this into an -O0 run and an -O2 run.

Diff Detail

Event Timeline

aeubanks created this revision.Aug 14 2020, 5:31 PM
aeubanks requested review of this revision.Aug 14 2020, 5:31 PM
asbirlea accepted this revision.Aug 17 2020, 9:23 AM
This revision is now accepted and ready to land.Aug 17 2020, 9:23 AM