1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib
Ali Tamur e7d6dfa5d7 Revert "[SCEV] Look through single value PHIs."
This reverts commit e441b7a7a0a72c28daf5a8e594559c667e5b4534.

This patch causes a compile error in tensorflow opensource project. The stack trace looks like:

Point of crash:
llvm/include/llvm/Analysis/LoopInfoImpl.h : line 35

(gdb) ptype *this
type = const class llvm::LoopBase<llvm::BasicBlock, llvm::Loop> [with BlockT = llvm::BasicBlock, LoopT = llvm::Loop]

(gdb) p *this
$1 = {ParentLoop = 0x0, SubLoops = std::vector of length 0, capacity 0, Blocks = std::vector of length 0, capacity 1,
  DenseBlockSet = {<llvm::SmallPtrSetImpl<llvm::BasicBlock const*>> = {<llvm::SmallPtrSetImplBase> = {<llvm::DebugEpochBase> = {Epoch = 3}, SmallArray = 0x1b2bf6c8, CurArray = 0x1b2bf6c8,
        CurArraySize = 8, NumNonEmpty = 0, NumTombstones = 0}, <No data fields>}, SmallStorage = {0xfffffffffffffffe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, IsInvalid = true}

(gdb) p *this->DenseBlockSet->CurArray
$2 = (const void *) 0xfffffffffffffffe

I will try to get a case from tensorflow or use creduce to get a small case.
2020-08-12 23:13:24 -07:00
..
Analysis Revert "[SCEV] Look through single value PHIs." 2020-08-12 23:13:24 -07:00
AsmParser [LLParser,NFC] Simplify forward GV refs update 2020-08-06 19:18:51 -07:00
BinaryFormat [DebugInfo] Allow GNU macro extension to be read 2020-08-11 13:30:52 +02:00
Bitcode [SystemZ/ZOS] Add binary format goff and operating system zos to the triple 2020-08-11 05:26:26 -04:00
Bitstream
CodeGen [GlobalISel] Implement bit-test switch table optimization. 2020-08-12 11:31:39 -07:00
DebugInfo [llvm-dwarfdump] Avoid crashing if an abbreviation offset is invalid. 2020-08-12 16:01:53 +07:00
Demangle
DWARFLinker
ExecutionEngine [llvm-jitlink] Update llvm-jitlink to use TargetProcessControl. 2020-08-10 17:19:48 -07:00
Extensions
Frontend [OpenMP][NFC] Reuse OMPIRBuilder struct ident_t handling in Clang 2020-08-10 17:13:26 -05:00
Fuzzer
FuzzMutate
IR Recommit "[InstSimplify] Remove select ?, undef, X -> X and select ?, X, undef -> X transforms" and its follow up patches 2020-08-12 10:45:27 -07:00
IRReader
LineEditor
Linker
LTO
MC [AIX][XCOFF] change the operand of branch instruction from symbol name to qualified symbol name for function declarations 2020-08-11 15:26:19 -04:00
MCA
Object [llvm-readobj] - Make decode_relrs() don't return Expected<>. NFCI. 2020-08-05 17:05:47 +03:00
ObjectYAML [DWARFYAML] Make the address size of compilation units optional. 2020-08-12 21:47:32 +08:00
Option [Clang options] Optimize optionMatches() runtime by removing mallocs 2020-08-12 23:07:07 -07:00
Passes [NewPM] Print 'Skipping pass' as pass instrumentation 2020-08-07 15:02:02 -07:00
ProfileData [llvm-cov] reset executation count to 0 after wrapped segment 2020-08-04 18:38:44 -07:00
Remarks BitstreamRemarkParser.h - remove unnecessary includes. NFCI. 2020-08-06 13:17:53 +01:00
Support [SystemZ/ZOS] Implement computeHostNumPhysicalCores 2020-08-12 08:31:33 -04:00
TableGen
Target [AMDGPU] Fix crash when dag-combining bitcast 2020-08-13 10:23:13 +08:00
Testing [cmake] Make gtest macro definitions a part the library interface 2020-08-11 15:22:44 +02:00
TextAPI Revert "Move ELFObjHandler to TextAPI library" 2020-08-10 21:31:29 -07:00
ToolDrivers
Transforms [HotColdSplit] Fix variable name spelling 2020-08-12 22:50:08 -07:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt