diff options
author | Ali Tamur <tamur@google.com> | 2020-08-12 23:02:17 -0700 |
---|---|---|
committer | Ali Tamur <tamur@google.com> | 2020-08-12 23:13:24 -0700 |
commit | 0581c0b0eeba03da590d1176a4580cf9b9e8d1e3 (patch) | |
tree | 846d46918989fa2211ef2fe1c478aa48e1e37cd7 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | d54c252bc8a15bc80bb9f0a83b3bebc6d211144a (diff) | |
download | llvm-0581c0b0eeba03da590d1176a4580cf9b9e8d1e3.zip llvm-0581c0b0eeba03da590d1176a4580cf9b9e8d1e3.tar.gz llvm-0581c0b0eeba03da590d1176a4580cf9b9e8d1e3.tar.bz2 |
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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions