HomePhabricator

Introduce DebugCounter into ConstProp pass

Description

Introduce DebugCounter into ConstProp pass

Summary:
This patch introduces DebugCounter into ConstProp pass at per-transformation level.

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

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

Reviewers: davide, fhahn

Reviewed By: fhahn

Subscribers: llozano, george.burgess.iv, llvm-commits

Differential Revision: https://reviews.llvm.org/D50094

Details

Committed
zhizhouyNov 12 2018, 4:31 PM
Reviewer
fhahn
Differential Revision
D50094: Introduce DebugCounter into ConstProp pass
Parents
rL346719: [InstCombine] add rotate variants that include select; NFC
Branches
Unknown
Tags
Unknown