[PATCH] D136069: [AMDGPU] Scheduler: Don't revert the schedule if the register pressure isn't changed for a region

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 04:33:04 PDT 2022


vpykhtin created this revision.
vpykhtin added reviewers: arsenm, rampitec, kerbowa.
Herald added subscribers: kosarev, foad, javed.absar, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
vpykhtin requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This one-linear fix improves compilation time for about ~40% on ASAN enabled code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136069

Files:
  llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
  llvm/test/CodeGen/AMDGPU/load-global-i16.ll
  llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136069.468161.patch
Type: text/x-patch
Size: 41085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/035c49e6/attachment.bin>


More information about the llvm-commits mailing list