[PATCH] D124308: [MachineScheduler] exclude INLINEASM from schedule when it would increase register pressure

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 16:06:04 PDT 2022


MatzeB added a comment.

Do you have a feeling for how well this heuristic works for non-X86? I wonder if it would be better to be conservative and only have it in `X86InstrInfo::isSchedulingBoundary`, that way you could also hardcode some values instead of fiddeling with `getRegPressureLimit`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124308



More information about the llvm-commits mailing list