[PATCH] D134951: [CodeGen] Propagate vreg flags to the regalloc spiller interface

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 04:55:48 PDT 2022


cdevadas created this revision.
cdevadas added reviewers: qcolombet, MatzeB, stoklund, arsenm.
Herald added subscribers: kosarev, hiraditya, tpr.
Herald added a project: All.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This patch helps targets to propagate and access the vreg flags
inside the spiller interface invoked by the register allocator.
AMDGPU target, for instance, needs to special handle certain
spills associated with vector register operands.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134951

Files:
  llvm/include/llvm/CodeGen/MachineRegisterInfo.h
  llvm/lib/CodeGen/LiveIntervals.cpp
  llvm/lib/CodeGen/LiveRangeEdit.cpp
  llvm/lib/CodeGen/MachineRegisterInfo.cpp
  llvm/lib/CodeGen/RegAllocFast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134951.464219.patch
Type: text/x-patch
Size: 4579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/bd016f43/attachment.bin>


More information about the llvm-commits mailing list