This is an archive of the discontinued LLVM Phabricator instance.

Honor 'optnone' functions in the pre-RA MI Scheduler.
ClosedPublic

Authored by mcrosier on Jan 20 2016, 11:46 AM.

Details

Reviewers
atrick
probinson

Diff Detail

Event Timeline

mcrosier updated this revision to Diff 45424.Jan 20 2016, 11:46 AM
mcrosier retitled this revision from to Honor 'optnone' functions in the pre-RA MI Scheduler..
mcrosier updated this object.
mcrosier added reviewers: probinson, atrick.
mcrosier added subscribers: llvm-commits, MatzeB.
atrick accepted this revision.Jan 20 2016, 11:48 AM
atrick edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 20 2016, 11:48 AM
probinson edited edge metadata.Jan 20 2016, 11:49 AM

No test?

No test?

Sure. I'll put one together.

No test?

Sure. I'll put one together.

Maybe adding a line to test/Feature/optnone-llc.ll would be enough?

mcrosier closed this revision.Jan 20 2016, 2:48 PM

I decided on a slightly different patch (with a test case), which was committed in r258363. If the function is marked optnone neither the subtarget or the -enable-misched command line option will enable the scheduler.