diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-11 17:41:41 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-11 17:41:41 +0000 |
commit | 4e8c80382ff29c0e1dddfed5f497d9a1d7d36263 (patch) | |
tree | b7c3ce2bdc47162a56c8ba6781759d8f917567a3 /llvm/lib/Object/IRObjectFile.cpp | |
parent | abb7b93eb9e21ea55a566b4f2c29b4fbd500906a (diff) | |
download | llvm-4e8c80382ff29c0e1dddfed5f497d9a1d7d36263.zip llvm-4e8c80382ff29c0e1dddfed5f497d9a1d7d36263.tar.gz llvm-4e8c80382ff29c0e1dddfed5f497d9a1d7d36263.tar.bz2 |
[SCEVExpander] Fix a failed cast<> assertion
SCEVExpander::replaceCongruentIVs assumes the backedge value of an
SCEV-analysable PHI to always be an instruction, when this is not
necessarily true. For now address this by bailing out of the
optimization if the backedge value of the PHI is a non-Instruction.
llvm-svn: 269213
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions