[PATCH] D77849: [calcspillweights] mark LiveIntervals from INLINEASM_BR defs as not spillable

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 17:25:45 PDT 2020


nickdesaulniers added a comment.

In D77849#1975590 <https://reviews.llvm.org/D77849#1975590>, @arsenm wrote:

> Using LiveIntervals in any way is not an option to solve this. They are not available in all fast regalloc and other allocators. The constraints need to be expressed with copies that are terminators, and splitting blocks when necessary


As a sanity check, I patched in https://reviews.llvm.org/D75098 and I can still reproduce this failure.  I think the problem that TCOPY solves, and the problem I'm trying to solve are orthogonal?  So I don't think I'll just be able to solve the case of spilled live outs from `INLINEASM_BR` via TCOPY.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77849/new/

https://reviews.llvm.org/D77849





More information about the llvm-commits mailing list