1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-21 18:22:53 +01:00
llvm-mirror/test
Bjorn Pettersson b37f5f2114 Inform pass manager when child loops are deleted
As part of the nontrivial unswitching we could end up removing child
loops. This patch add a notification to the pass manager when
that happens (using the markLoopAsDeleted callback).

Without this there could be stale LoopAccessAnalysis results cached
in the analysis manager. Those analysis results are cached based on
a Loop* as key. Since the BumpPtrAllocator used to allocate
Loop objects could be resetted between different runs of for
example the loop-distribute pass (running on different functions),
a new Loop object could be created using the same Loop pointer.
And then when requiring the LoopAccessAnalysis for the loop we
got the stale (corrupt) result from the destroyed loop.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D109257

(fixes PR51754)
(cherry-picked from commit 0f0344dd1e3b53387bb396070916e67f4c426da6)
2021-09-09 09:04:59 -07:00
..
Analysis [SCEV] Fix applyLoopGuards() with range check idiom (PR51760) 2021-09-07 22:34:39 -07:00
Assembler
Bindings [ARM][AArch64] Require appropriate features for crypto algorithms 2021-04-28 16:26:18 +01:00
Bitcode [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
BugPoint [AIX] Add %pluginext and update tests to use proper pluginext 2021-04-27 20:34:54 -04:00
CodeGen Revert "[HardwareLoops] Change order of SCEV expression construction for InitLoopCount." 2021-09-08 20:46:17 -07:00
DebugInfo Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
Demangle Demangle: correct swift_async demangling for Microsoft scheme 2021-07-14 11:43:44 -07:00
Examples
ExecutionEngine [Orc] Enable debug object tests only on x86_64 hosts 2021-09-02 14:16:41 -07:00
Feature
FileCheck
Instrumentation [hwasan] Use stack safety analysis. 2021-07-22 16:20:27 -07:00
Integer
JitListener Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
Linker [Linker] Support weak symbols in nodeduplicate COMDAT group 2021-09-02 14:15:28 -07:00
LTO [LTO] Add SelectionKind to IRSymtab and use it in ld.lld/LLVMgold 2021-07-20 13:22:00 -07:00
MachineVerifier [MachineVerifier] Make INSERT_SUBREG diagnostic respect operand 2 subregs 2021-07-21 08:47:17 -07:00
MC [AArch64][SME] Fix imm bug in mov vector to tile aliases 2021-09-08 20:47:08 -07:00
Object [llvm-readobj] Display multiple function names for stack size entries 2021-07-26 14:49:53 +01:00
ObjectYAML [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
Other [NewPM] Add missing LTO ArgPromotion pass 2021-09-01 17:37:57 -07:00
SafepointIRVerifier
Support
SymbolRewriter [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
TableGen
ThinLTO/X86 ThinLTO: Fix inline assembly references to static functions with CFI 2021-08-24 18:49:13 -07:00
tools [llvm-objdump] Fix 'llvm-objdump -dr' for executables with relocations 2021-09-08 08:45:39 -07:00
Transforms Inform pass manager when child loops are deleted 2021-09-09 09:04:59 -07:00
Unit
Verifier [Verifier] Check byval/etc type when comparing ABI attributes 2021-07-20 20:19:47 +02:00
YAMLParser
.clang-format
CMakeLists.txt [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.cfg.py [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.site.cfg.py.in
TestRunner.sh