Avoid dereferencing end() in collectInterferingVRegs() when there is no
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 17 Dec 2010 23:16:38 +0000 (23:16 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 17 Dec 2010 23:16:38 +0000 (23:16 +0000)
commit8d121404370cd57be7e72543127a1afe2faa1b10
treef1031385bc2a5e61ab4ed51df2ad8c2d5bb3283d
parentaf24964251e27c2dd863239ba66ffd967b593be5
Avoid dereferencing end() in collectInterferingVRegs() when there is no
interference.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122108 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveIntervalUnion.cpp