1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Jeremy Morse d7472f89c6 [DebugInfo] Avoid LSR crash on large integer inputs
Loop strength reduction tries to recover debug variable values by looking
for simple offsets from PHI values. In really extreme conditions there may
be an offset used that won't fit in an int64_t, hitting an APInt assertion.

This patch adds a regression test and adjusts the equivalent value
collecting code to filter out any values where the offset can't be
represented by an int64_t. This means that for very large integers with
very large offsets, the variable location will become undef, which is the
same behaviour as before 2a6782bb9f1 / D87494.

Differential Revision: https://reviews.llvm.org/D94016
2021-01-05 10:25:37 +00:00
..
Analysis Revert "[LoopNest] Allow empty basic blocks without loops" 2021-01-04 20:42:21 +00:00
Assembler [DebugInfo] Support Fortran 'use <external module>' statement. 2020-12-18 13:10:57 -05:00
Bindings
Bitcode [DebugInfo] Support Fortran 'use <external module>' statement. 2020-12-18 13:10:57 -05:00
BugPoint
CodeGen [WebAssembly] call_indirect causes indirect function table import 2021-01-05 11:09:24 +01:00
DebugInfo [test] Add explicit dso_local to definitions in ELF static relocation model tests 2020-12-30 15:47:16 -08:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck [FileCheck] Add a literal check directive modifier 2020-12-18 17:26:15 -08:00
Instrumentation Use unary CreateShuffleVector if possible 2020-12-30 22:36:08 +09:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [WebAssembly] call_indirect causes indirect function table import 2021-01-05 11:09:24 +01:00
Object [llvm-readobj] - Dump the ELF file type better. 2020-12-23 11:13:19 +03:00
ObjectYAML
Other Moving UniqueInternalLinkageNamesPass to the start of IR pipelines. 2021-01-02 14:26:21 -08:00
Reduce [llvm-reduce] Refactor global variable delta pass 2021-01-03 01:45:47 +03:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [GlobalISel][TableGen] Fix ConstrainOperandRC bug 2021-01-05 09:30:04 +01:00
ThinLTO/X86 [ThinLTO][test] Specify -enable-import-metadata to make !thinlto_src_module available in -DLLVM_ENABLE_ASSERTIONS=off mode 2020-12-31 09:31:53 -08:00
tools [UpdateTestChecks] Fix PowerPC RE to support AIX assembly 2021-01-05 10:28:00 +08:00
Transforms [DebugInfo] Avoid LSR crash on large integer inputs 2021-01-05 10:25:37 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh