Skip to content
Commit e9500ba7 authored by Petar Jovanovic's avatar Petar Jovanovic
Browse files

[LiveDebugValues] Change condition for block termination recognition

The last iterator of MBB should be recognized as MBB.end() not as
MBB.instr_end() which could return bundled instruction that is not iterable
with basic iterator.

Patch by Nikola Prica.

Differential Revision: https://reviews.llvm.org/D41626

llvm-svn: 322015
parent b9efca32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment