[PATCH] D11340: [X86] Allow load folding into PUSH instructions

Michael Kuperstein michael.m.kuperstein at intel.com
Sun Jul 19 03:54:11 PDT 2015


mkuper created this revision.
mkuper added reviewers: spatel, RKSimon.
mkuper added a subscriber: llvm-commits.

Adds PUSHes to the folding tables.
This also required a fix to the TD definition, since the memory forms of the PUSH/POP instructions did not have the right mayLoad/mayStore flags.

http://reviews.llvm.org/D11340

Files:
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.td
  test/CodeGen/X86/fold-push.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11340.30117.patch
Type: text/x-patch
Size: 6806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150719/19e60807/attachment.bin>


More information about the llvm-commits mailing list