1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Jakub Kuderski 300700e70f [InstCombine] Improve infinite loop detection
Summary:
This patch limits the default number of iterations performed by InstCombine. It also exposes a new option that allows to specify how many iterations is considered getting stuck in an infinite loop.

Based on experiments performed on real-world C++ programs, InstCombine seems to perform at most ~8-20 iterations, so treating 1000 iterations as an infinite loop seems like a safe choice. See D71145 for details.

The two limits can be specified via command line options.

Reviewers: spatel, lebedev.ri, nikic, xbolva00, grosser

Reviewed By: spatel

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71673
2019-12-20 16:15:04 -05:00
..
Analysis [DDG] Data Dependence Graph - Ordinals 2019-12-19 10:57:33 -05:00
Assembler Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
Bindings
Bitcode
BugPoint [Bugpoint] Do not create illegal function attribute combos 2019-12-16 10:32:35 -06:00
CodeGen Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
DebugInfo Rename DW_AT_LLVM_isysroot to DW_AT_LLVM_sysroot 2019-12-20 13:11:17 -08:00
Demangle
Examples
ExecutionEngine [JITLink][MachO] Fix common symbol size plumbing. 2019-12-19 20:41:59 -08:00
Feature This adds constrained intrinsics for the signed and unsigned conversions 2019-12-17 10:06:51 -05:00
FileCheck
Instrumentation hwasan: add tag_offset DWARF attribute to optimized debug info 2019-12-12 16:18:54 -08:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC Align branches within 32-Byte boundary (NOP padding) 2019-12-20 11:35:50 -08:00
Object
ObjectYAML
Other Revert "[VectorUtils] Introduce the Vector Function Database (VFDatabase)." 2019-12-13 19:42:04 +00:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen Revert "Temporarily Revert "[gicombiner] Add the MatchDag structure and parse instruction DAG's from the input"" 2019-12-18 11:37:12 +00:00
ThinLTO/X86 [ThinLTO] Show preserved symbols in DOT files 2019-12-18 18:33:15 +03:00
tools [llvm-symbolizer] Support reading options from environment 2019-12-20 12:47:27 -08:00
Transforms [InstCombine] Improve infinite loop detection 2019-12-20 16:15:04 -05:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt [cmake] Add llvm-locstats to LLVM_TEST_DEPENDS 2019-12-18 09:54:21 +01:00
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh