HomePhabricator

[X86] Allow load folding into PUSH instructions

Authored by mkuper on Jul 23 2015, 5:23 AM.

Description

[X86] Allow load folding into PUSH instructions

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

Differential Revision: http://reviews.llvm.org/D11340

llvm-svn: 243010