[PATCH] D63656: [Peephole] Allow folding loads into instructions w/multiple uses (such as test64rr)

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 09:39:28 PDT 2019


reames updated this revision to Diff 206025.
reames added a comment.
Herald added a subscriber: jsji.

Further test updates.  I updated the first patch while make check was still running because I'd expected the impact to be limited.  I was surprised by how many places benefited outside of atomics.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63656/new/

https://reviews.llvm.org/D63656

Files:
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/PeepholeOptimizer.cpp
  test/CodeGen/X86/addr-mode-matcher-2.ll
  test/CodeGen/X86/or-branch.ll
  test/CodeGen/X86/peephole-fold-testrr.mir
  test/CodeGen/X86/sibcall.ll
  test/CodeGen/X86/x86-shrink-wrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63656.206025.patch
Type: text/x-patch
Size: 8250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190621/343d464c/attachment.bin>


More information about the llvm-commits mailing list