[PATCH] D81646: MIR Statepoint refactoring. Part 2: Operand folding.

Denis Antrushin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 10:56:01 PDT 2020


dantrushin added a comment.

`InlineSpiller::spillAroundUses`  folds/spills **ALL** concurrences of vreg1 , so it will turn

  vreg1 = statepoint .... vreg1 (tied)
  vreg2 = ADDri vreg1, 20

into

  statepoint ... [FI]
  vreg2 = ADDmi [FI], 20

In case folding fails, it will insert reload before use.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81646





More information about the llvm-commits mailing list