diff options
| author | Alina Sbirlea <asbirlea@google.com> | 2017-06-07 16:46:53 +0000 |
|---|---|---|
| committer | Alina Sbirlea <asbirlea@google.com> | 2017-06-07 16:46:53 +0000 |
| commit | 33e5872367826bbe416fef89fdb087094a5457dd (patch) | |
| tree | 7f7cd5accf2b8b4bb813b502cce98b2dc090133a /llvm/lib/CodeGen/LexicalScopes.cpp | |
| parent | fbb0463f3988da305c2993569a7723d573d430ce (diff) | |
| download | bcm5719-llvm-33e5872367826bbe416fef89fdb087094a5457dd.tar.gz bcm5719-llvm-33e5872367826bbe416fef89fdb087094a5457dd.zip | |
[mssa] Fix case when there is no definition in a block prior to an inserted use.
Summary:
Check that the first access before one being tested is valid.
Before this patch, if there was no definition prior to the Use being tested,
the first time Iter was deferenced, it hit the sentinel.
Reviewers: dberlin, gbiv
Subscribers: sanjoy, Prazek, llvm-commits
Differential Revision: https://reviews.llvm.org/D33950
llvm-svn: 304926
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
0 files changed, 0 insertions, 0 deletions

