[PATCH] D50210: Introduce DebugCounter into MergedLoadStoreMotion pass

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 18:38:42 PDT 2018


zhizhouy created this revision.
zhizhouy added reviewers: george.burgess.iv, Gerolf.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D50210

Files:
  lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  test/Other/debugcounter-instmerge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50210.158883.patch
Type: text/x-patch
Size: 6275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180803/5b78b718/attachment.bin>


More information about the llvm-commits mailing list