[PATCH] D14245: ScheduleDAGInstrs: Remove IsPostRA flag; NFC

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 10:51:05 PST 2015


MatzeB created this revision.
MatzeB added a reviewer: atrick.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: arsenm.

ScheduleDAGInstrs doesn't behave differently before or after register
allocation. So there should be no need for the IsPostRA flag; It was only
used in a method of MachineSchedulerBase which behaved differently in
MachineScheduler/PostMachineScheduler. Change this to let
MachineScheduler/PostMachineScheduler just pass in a
parameter to that function.

Repository:
  rL LLVM

http://reviews.llvm.org/D14245

Files:
  include/llvm/CodeGen/DFAPacketizer.h
  include/llvm/CodeGen/MachineScheduler.h
  include/llvm/CodeGen/Passes.h
  include/llvm/CodeGen/ScheduleDAGInstrs.h
  lib/CodeGen/DFAPacketizer.cpp
  lib/CodeGen/MachineScheduler.cpp
  lib/CodeGen/PostRASchedulerList.cpp
  lib/CodeGen/ScheduleDAGInstrs.cpp
  lib/Target/AMDGPU/R600Packetizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14245.38943.patch
Type: text/x-patch
Size: 11998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/b9e3c578/attachment.bin>


More information about the llvm-commits mailing list