[all-commits] [llvm/llvm-project] 2aba2f: [RegAlloc] Add a test with use in statepoint expec...

serguei-katkov via All-commits all-commits at lists.llvm.org
Tue Mar 30 03:14:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aba2f18890926431c9eb4bdb08b2f092861c25d
      https://github.com/llvm/llvm-project/commit/2aba2f18890926431c9eb4bdb08b2f092861c25d
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    A llvm/test/CodeGen/X86/statepoint-ra-no-ls.ll

  Log Message:
  -----------
  [RegAlloc] Add a test with use in statepoint expected to be on stack.

The test shows that RA computes the spill weight independent on the
fact that statepoint instruction for var operands is ok to accept
this operand on stack. As a result the corresponding virtual register
evicts the other register which requires register for use.
It causes redundant fill operation.




More information about the All-commits mailing list