OSDN Git Service

[InstCombine] Lower infinite combine loop detection thresholds
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 6 Jul 2020 09:38:41 +0000 (12:38 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 6 Jul 2020 10:19:31 +0000 (13:19 +0300)
commitcd7f8051ac7b6f08734102446482c1e5d951bfcc
tree8d6070e88d95014483f61a31adc772f94aec9cfb
parent3341d470fc4727d7e150023c08680bf422bfb03d
[InstCombine] Lower infinite combine loop detection thresholds

Summary:
1000 iteratons is still kinda a lot.
Would it make sense to iteratively lower it, until it becomes `2`,
with some delay inbetween in order to let users actually potentially encounter it?

Reviewers: spatel, nikic, kuhar

Reviewed By: nikic

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83160
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp