llvm-project/llvm/test
Sanjay Patel 602ab24833 [SimplifyCFG] avoid crash on degenerate loop
The problematic code pattern in the test is based on:
https://llvm.org/PR50638

If the IfCond is itself the phi that we are trying to remove,
then the loop around line 2835 can end up with something like:
%cmp = select i1 %cmp, i1 false, i1 true

That can then lead to a use-after-free and assert (although
I'm still not seeing that locally in my release + asserts build).

I think this can only happen with unreachable code.

Differential Revision: https://reviews.llvm.org/D104063
2021-06-11 09:37:06 -04:00
..
Analysis [CostModel][AArch64] Improve the cost estimate of CTPOP intrinsic 2021-06-11 11:15:46 +01:00
Assembler Fix non-global-value-max-name-size not considered by LLParser 2021-05-27 04:20:03 +00:00
Bindings
Bitcode [OpaquePtr] Create new bitcode encoding for atomicrmw 2021-05-25 16:30:34 -07:00
BugPoint
CodeGen precommit tests for D104042 2021-06-11 12:33:16 +01:00
DebugInfo Revert "3rd Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands"" 2021-06-08 14:54:08 +02:00
Demangle [Demangle][Rust] Parse const backreferences 2021-06-08 10:01:50 +02:00
Examples
ExecutionEngine [JITLink][MachO][arm64] Build GOT entries for defined symbols too. 2021-05-25 12:19:09 -07:00
Feature
FileCheck
Instrumentation [compiler-rt][hwasan] Decouple use of the TLS global for getting the shadow base and using the frame record feature 2021-06-09 12:55:19 -07:00
Integer
JitListener Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
LTO LTO: Export functions referenced by non-canonical CFI jump tables 2021-06-08 14:57:43 -07:00
Linker [IR] make -warn-frame-size into a module attr 2021-06-10 16:15:27 -07:00
MC [RISCV] Fix failing RVV MC tests 2021-06-09 09:47:18 +01:00
MachineVerifier
Object Reland "[AMDGPU] Add gfx1013 target" 2021-06-08 21:15:35 -04:00
ObjectYAML
Other Revert "[DSE] Remove stores in the same loop iteration" 2021-06-08 21:23:08 +01:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86 [LTO] Support new PM in ThinLTOCodeGenerator. 2021-06-09 10:05:14 +01:00
Transforms [SimplifyCFG] avoid crash on degenerate loop 2021-06-11 09:37:06 -04:00
Unit
Verifier SwiftTailCC: teach verifier musttail rules applicable to this CC. 2021-05-28 11:12:00 +01:00
YAMLParser
tools [ms] [llvm-ml] Warn on command-line redefinition 2021-06-10 14:20:21 -04:00
.clang-format
CMakeLists.txt Reland "[llvm] llvm-tapi-diff" 2021-06-09 21:17:34 -07:00
TestRunner.sh
lit.cfg.py Reland "[llvm] llvm-tapi-diff" 2021-06-09 21:17:34 -07:00
lit.site.cfg.py.in