[PATCH] D29835: Correct register pressure calculation in presence of subregs

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 10:55:22 PST 2017


rampitec updated this revision to Diff 89245.
rampitec added a comment.

Added callback for a target to estimate register unit weight given a lane mask, since that is unclear if proportional weight is correct for all targets.


Repository:
  rL LLVM

https://reviews.llvm.org/D29835

Files:
  include/llvm/CodeGen/RegisterPressure.h
  include/llvm/Target/TargetRegisterInfo.h
  lib/CodeGen/MachineScheduler.cpp
  lib/CodeGen/RegisterPressure.cpp
  lib/CodeGen/TargetRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.h
  test/CodeGen/AMDGPU/load-global-i32.ll
  test/CodeGen/AMDGPU/schedule-regpressure-subregs.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29835.89245.patch
Type: text/x-patch
Size: 13183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/6394806b/attachment-0001.bin>


More information about the llvm-commits mailing list