[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
Mon Apr 27 14:34:23 PDT 2020


nickdesaulniers added a comment.

Ah, I wish I watched https://www.youtube.com/watch?v=hf8kD-eAaxg before looking into this! (Todo list includes https://www.youtube.com/watch?v=ktXFOlyEOtY and https://www.youtube.com/watch?v=IK8TMJf3G6U and https://github.com/nael8r/How-To-Write-An-LLVM-Register-Allocator/blob/master/HowToWriteAnLLVMRegisterAllocator.rst).

I tried canonicallizing the callbr fallthrough, but it makes no difference.  I suppose that makes sense, given that the live range doesn't change.

https://reviews.llvm.org/D78586 is also pointing out another issue with callbr return values.


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