aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-09-05 19:44:39 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-09-05 19:44:39 +0000
commit420c4863a932cef3e7cb74fd1bf6cabbf6e5f62b (patch)
tree2f6e32dabcf4c49f0fcb3d2e28c70cec6b21dc32 /llvm/lib/CodeGen/MachineFunction.cpp
parentdb419a6f7c13393c2f1b2ed4b6ed4148839263d1 (diff)
downloadllvm-420c4863a932cef3e7cb74fd1bf6cabbf6e5f62b.zip
llvm-420c4863a932cef3e7cb74fd1bf6cabbf6e5f62b.tar.gz
llvm-420c4863a932cef3e7cb74fd1bf6cabbf6e5f62b.tar.bz2
[Simplify] Actually remove unsed instruction from region header.
Since r312249 instructions of a entry block of region statements are not marked as root anymore and hence can theoretically be removed if unused. Theoretically, because the instruction list was not changed. Still, MemoryAccesses for unused instructions were removed. This lead to a failed assertion in the code generator when the MemoryAccess for the still listed instruction was not found. This hould fix the Assertion failed: ArrayAccess && "No array access found for instruction!", file ScopInfo.h, line 1494 compiler crashes. llvm-svn: 312566
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions