commit | 649bcb99b411344ab6b765c17848f68db96761f4 | [log] [tgz] |
---|---|---|
author | Justin Lebar <jlebar@google.com> | Tue Nov 29 21:49:02 2016 +0000 |
committer | Justin Lebar <jlebar@google.com> | Tue Nov 29 21:49:02 2016 +0000 |
tree | 8044c494a75cc1645cfd8a7241cf2564e45cc689 | |
parent | dc150d07a5820965567c0658f8418121c49b6d30 [diff] |
[StructurizeCFG] Fix infinite loop in rebuildSSA. Michel Dänzer reported that r288051, "[StructurizeCFG] Use range-based for loops", introduced a bug into rebuildSSA, wherein we were iterating over an instruction's use list while modifying it, without taking care to do this correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288200 91177308-0d34-0410-b5e6-96231b3b80d8