RegisterCoalescer: Turn some impossible conditions into asserts
authorMatthias Braun <matze@braunis.de>
Mon, 12 Jan 2015 19:10:17 +0000 (19:10 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 12 Jan 2015 19:10:17 +0000 (19:10 +0000)
commit095ca8f493b4680fb18f9964a4eb0ce69fbdfec6
treeaa9a52f909745cee963f3c0bd5304866465899e7
parent54b53edbd9e0226cc1669ac12e96aa24f7690c2f
RegisterCoalescer: Turn some impossible conditions into asserts

This is a fixed version of reverted r225500. It fixes the too early
if() continue; of the last patch and adds a comment to the unorthodox
loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225652 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp