[PATCH] D61489: RegAlloc: try to fail more gracefully when out of registers
    Nicolai Hähnle via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue May  7 01:49:38 PDT 2019
    
    
  
nhaehnle added a comment.
In D61489#1490079 <https://reviews.llvm.org/D61489#1490079>, @efriedma wrote:
> Given that, there needs to be some way for error reporting to distinguish the two errors.  When we run out of registers due to a non-inline-asm construct in clang, we want to make it clear to the user that the issue is a compiler bug, not user error.  This means we need to trigger the code in the clang driver that asks for a bug report and generates preprocessed source.
>
> Of course, that isn't fundamentally tied to calling abort() from the register allocator; some alternate mechanism for reporting ICEs which doesn't immediately kill the process would be reasonable.
That seems reasonable, though presumably something for a separate change.
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61489/new/
https://reviews.llvm.org/D61489
    
    
More information about the llvm-commits
mailing list