commit | 4a9ee89912a5f4bbd66ae6d68960baf45d5d2733 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Mon Dec 17 17:25:53 2018 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Mon Dec 17 17:25:53 2018 +0000 |
tree | 8a06a469fba21e1b8596dea71d26b8d5dd1c448a | |
parent | 785589d4997fd6d9881b60874fed6e2b891cfebd [diff] |
FastIsel: take care to update iterators when removing instructions. We keep a few iterators into the basic block we're selecting while performing FastISel. Usually this is fine, but occasionally code wants to remove already-emitted instructions. When this happens we have to be careful to update those iterators so they're not pointint at dangling memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349365 91177308-0d34-0410-b5e6-96231b3b80d8