This is an archive of the discontinued LLVM Phabricator instance.

Enable pass pipelines containing LocalStackSlotPass but not StackProtectorPass.
AbandonedPublic

Authored by kristof.beyls on Jan 10 2017, 3:52 AM.

Details

Summary

This makes it possible to write llc -start-after, specifying a pass that
runs after StackProtector. Very useful, e.g. to write a regression test
for a machine pass, or to test a MIR-to-assembly partial pass pipeline.

This also fixes PR30324.

I've added the legalmir2asm.mir file to show how I intend to
use MIR-to-assembly testing for GlobalISel development, but I don't intend to commit that
test case as part of this patch. It's just an example of the kind of regression tests
this fix makes possible.

Diff Detail

Event Timeline

kristof.beyls retitled this revision from to Enable pass pipelines containing LocalStackSlotPass but not StackProtectorPass..
kristof.beyls updated this object.
kristof.beyls added a subscriber: llvm-commits.
kristof.beyls abandoned this revision.Feb 3 2017, 7:36 AM

Abandoning this in favour of https://reviews.llvm.org/D29494, which aims to fix PR30324 in a non-hacky way.