commit | bd2cca79b753e9491765a5b930ecd38e7fe76d72 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Fri Mar 28 13:52:56 2014 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Fri Mar 28 13:52:56 2014 +0000 |
tree | 68e8a5c301b3620cdb6fe7b3d406b52a6e594b16 | |
parent | b7de4288bc0b712a7691fe8bf9305d3963363b4f [diff] |
R600: avoid calling std::next on an iterator that might be end() This was causing my llc to go into an infinite loop on CodeGen/R600/address-space.ll (just triggered recently by some allocator changes). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205005 91177308-0d34-0410-b5e6-96231b3b80d8