diff options
author | wangpc <pc.wang@linux.alibaba.com> | 2022-01-26 14:04:53 +0800 |
---|---|---|
committer | wangpc <pc.wang@linux.alibaba.com> | 2022-01-26 14:06:57 +0800 |
commit | 8597458278027047c06a1a81579893335e761a33 (patch) | |
tree | fb5a479c38a933b8b1798913e217b62882db8897 /llvm/lib/Support/FileUtilities.cpp | |
parent | d606e23305015f14072ed59e8e71d6b27d010b48 (diff) | |
download | llvm-8597458278027047c06a1a81579893335e761a33.zip llvm-8597458278027047c06a1a81579893335e761a33.tar.gz llvm-8597458278027047c06a1a81579893335e761a33.tar.bz2 |
[regalloc] Fix assertion error when LiveInterval is empty
When evicting interference, it causes an asseertion error
since LiveIntervals::intervalIsInOneMBB assumes that input
is not empty.
This patch fixed bug mentioned in D118020.
Reviewed By: MatzeB
Differential Revision: https://reviews.llvm.org/D118124
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions