[PATCH] D36195: Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 16:31:54 PDT 2017


danielcdh added a comment.

Tried to add a test. But either need to have

1. a testcase that go through all default optimization pipeline, and make a difference with and without the default AA pipeline (tried test/Analysis/BasicAA/invariant_load.ll, but does not work)
2. introduce something like -debug-pass-manager to llvm-lto2 so that we can check for passes invoked by llvm-lto2

#2 is beyond the scope of this patch. So I plan to commit the patch as is. I could work on #2 later (maybe after I get AutoFDO + newPM performance back to normal).

Please let me know if the plan does not sound OK, otherwise I'll commit patch before I leave work today.

Thanks,
Dehao


https://reviews.llvm.org/D36195





More information about the llvm-commits mailing list