[PATCH] D50033: Introduce DebugCounter into DevRemPairs pass

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 17:58:46 PDT 2018


zhizhouy created this revision.
zhizhouy added a reviewer: george.burgess.iv.

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

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

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


Repository:
  rL LLVM

https://reviews.llvm.org/D50033

Files:
  lib/Transforms/Scalar/DivRemPairs.cpp
  test/Other/debugcounter-divrempairs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50033.158146.patch
Type: text/x-patch
Size: 3813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/80849a8d/attachment.bin>


More information about the llvm-commits mailing list