[PATCH] D22635: GlobalISel: add an actual legalizer

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 11:13:16 PDT 2016


t.p.northover created this revision.
t.p.northover added reviewers: ab, qcolombet, arsenm.
t.p.northover added a subscriber: llvm-commits.
t.p.northover set the repository for this revision to rL LLVM.
Herald added subscribers: mcrosier, vkalintiris, mehdi_amini.

This is the final chunk of my original legalizer outline (well, there were a couple more transformations originally, but they're trivial from a review perspective). It adds a helper class to actually perform legalization, and a pass that currently iterates through a MachineFunction applying it to each instruction. Just one transformation is implemented for now.

Repository:
  rL LLVM

https://reviews.llvm.org/D22635

Files:
  include/llvm/CodeGen/GlobalISel/GISelAccessor.h
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  include/llvm/CodeGen/GlobalISel/MachineLegalizeHelper.h
  include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h
  include/llvm/CodeGen/GlobalISel/MachineLegalizer.h
  include/llvm/CodeGen/TargetPassConfig.h
  include/llvm/InitializePasses.h
  include/llvm/Target/GenericOpcodes.td
  include/llvm/Target/TargetOpcodes.def
  include/llvm/Target/TargetSubtargetInfo.h
  lib/CodeGen/GlobalISel/CMakeLists.txt
  lib/CodeGen/GlobalISel/GlobalISel.cpp
  lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  lib/CodeGen/GlobalISel/MachineLegalizeHelper.cpp
  lib/CodeGen/GlobalISel/MachineLegalizePass.cpp
  lib/CodeGen/GlobalISel/MachineLegalizer.cpp
  lib/CodeGen/LLVMTargetMachine.cpp
  lib/Target/AArch64/AArch64MachineLegalizer.cpp
  lib/Target/AArch64/AArch64MachineLegalizer.h
  lib/Target/AArch64/AArch64Subtarget.cpp
  lib/Target/AArch64/AArch64Subtarget.h
  lib/Target/AArch64/AArch64TargetMachine.cpp
  lib/Target/AArch64/CMakeLists.txt
  test/CodeGen/AArch64/GlobalISel/legalize-add.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22635.64926.patch
Type: text/x-patch
Size: 31320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160721/1577fb94/attachment.bin>


More information about the llvm-commits mailing list