[PATCH] D41463: [CodeGen] Add a new pass to sink Copy instructions after RA

Jun Bum Lim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 12:36:45 PST 2018


junbuml updated this revision to Diff 131640.
junbuml marked 2 inline comments as done.
junbuml added a comment.

Addressed Francis' comments.

On top of the COPY source forwarding (https://reviews.llvm.org/D41835), this will increase even more shrink-wrapping . With https://reviews.llvm.org/D41835, I observed about 60% more shrink-wrapping in spec2000/2006/2017 benchmarks.


https://reviews.llvm.org/D41463

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/CodeGen/TargetInstrInfo.h
  include/llvm/InitializePasses.h
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/MachineSink.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/CodeGen/TargetPassConfig.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  test/CodeGen/AArch64/post-ra-machine-sink.mir
  test/CodeGen/AArch64/sink-copy-for-shrink-wrap.ll
  test/CodeGen/Hexagon/vect/vect-v4i16.ll
  test/DebugInfo/X86/dbg-value-transfer-order.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41463.131640.patch
Type: text/x-patch
Size: 29820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/9e63e7ce/attachment.bin>


More information about the llvm-commits mailing list