This is an archive of the discontinued LLVM Phabricator instance.

Introduce DebugCounter into MergedLoadStoreMotion pass
Needs ReviewPublic

Authored by zhizhouy on Aug 2 2018, 6:38 PM.

Details

Summary

This patch introduces DebugCounter into MergedLoadStoreMotion pass at per-transformation level.

It will provide an option to skip first n or stop after n transformations for the whole MergedLoadStoreMotion pass.

This will make debug easier for the pass, also providing chance to do transformation level bisecting.

Diff Detail

Repository
rL LLVM

Event Timeline

zhizhouy created this revision.Aug 2 2018, 6:38 PM
davide added a comment.Sep 5 2018, 2:01 PM

I'm not familiar enough with MLSM to review this, so @Gerolf should take a look.