summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-10 17:48:12 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-10 17:48:12 +0000
commitcd13ebca5feb96a415119adbcd9a6df4f08f9d60 (patch)
treec524f79eca3281801916d49e833caa25edbb2447 /llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
parent9cd976d041de6006d208f3f20fd7d353a383a18b (diff)
downloadbcm5719-llvm-cd13ebca5feb96a415119adbcd9a6df4f08f9d60.tar.gz
bcm5719-llvm-cd13ebca5feb96a415119adbcd9a6df4f08f9d60.zip
[InstCombine] Add a DEBUG_COUNTER to InstCombine to limit how many instructions are visited for debug
Sometimes it would be nice to stop InstCombine mid way through its combining to see the current IR. By using a debug counter we can place an upper limit on how many instructions to process. This will also allow skipping the first X combines, but that has the potential to change later combines since earlier canonicalizations might have been skipped. Differential Revision: https://reviews.llvm.org/D36553 llvm-svn: 310638
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud