diff options
author | Walter Lee <waltl@google.com> | 2018-09-20 20:05:57 +0000 |
---|---|---|
committer | Walter Lee <waltl@google.com> | 2018-09-20 20:05:57 +0000 |
commit | f75e8036790bae267265b4b1f05416860bfb0a55 (patch) | |
tree | 886b69edd0b5012d4f7908bd1ea59ef6ccfc2b6f /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | 4e0295bed380bd666b5c26491fa6d069703742c9 (diff) | |
download | llvm-f75e8036790bae267265b4b1f05416860bfb0a55.zip llvm-f75e8036790bae267265b4b1f05416860bfb0a55.tar.gz llvm-f75e8036790bae267265b4b1f05416860bfb0a55.tar.bz2 |
[RegAllocGreedy] Fix crash in tryLocalSplit
tryLocalSplit only handles a single use block, but an interval may
have multiple use blocks. So don't crash in that case. This fixes
PR38795.
Differential revision: https://reviews.llvm.org/D52277
llvm-svn: 342682
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions