summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.h
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-05-11 17:41:41 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-05-11 17:41:41 +0000
commit4e8c80382ff29c0e1dddfed5f497d9a1d7d36263 (patch)
treeb7c3ce2bdc47162a56c8ba6781759d8f917567a3 /llvm/lib/CodeGen/LiveDebugVariables.h
parentabb7b93eb9e21ea55a566b4f2c29b4fbd500906a (diff)
downloadbcm5719-llvm-4e8c80382ff29c0e1dddfed5f497d9a1d7d36263.tar.gz
bcm5719-llvm-4e8c80382ff29c0e1dddfed5f497d9a1d7d36263.zip
[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/CodeGen/LiveDebugVariables.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud