[RegAlloc] Add a test with use in statepoint expected to be on stack.
authorSerguei Katkov <serguei.katkov@azul.com>
Tue, 30 Mar 2021 06:21:03 +0000 (13:21 +0700)
committerSerguei Katkov <serguei.katkov@azul.com>
Tue, 30 Mar 2021 10:14:12 +0000 (17:14 +0700)
commit2aba2f18890926431c9eb4bdb08b2f092861c25d
treede77450060fb69e4508de4ec391f6b73f19e646a
parenta08c7736a771d1be6e3168ff94aa8d7ff4479ef4
[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.
llvm/test/CodeGen/X86/statepoint-ra-no-ls.ll [new file with mode: 0644]