[PATCH] D12887: [Machine Combiner] Refactor machine reassociation into a target-independent pass

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 12:11:43 PDT 2015


haicheng created this revision.
haicheng added reviewers: spatel, jmolloy.
haicheng added subscribers: llvm-commits, mcrosier, t.p.northover, kristof.beyls.
haicheng set the repository for this revision to rL LLVM.

This patch refactors the machine reassociation pass into a target-independent pass.  The only pass used by x86 now is this reassociation pass, not the machine combiner pass.  There is no functional change in this patch.   No change is found in the x86 assembly when complied with llvm-test-suite and spec2006.  

This change address PR24522. 

Repository:
  rL LLVM

http://reviews.llvm.org/D12887

Files:
  include/llvm/CodeGen/MachineReassociation.h
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/MachineReassociation.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/machine-combiner-int.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12887.34820.patch
Type: text/x-patch
Size: 53581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150915/48127cdd/attachment.bin>


More information about the llvm-commits mailing list