[X86][XOP] Added XOP memory folding patterns + tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 10 Feb 2015 12:57:17 +0000 (12:57 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 10 Feb 2015 12:57:17 +0000 (12:57 +0000)
commit8bcc093da595d8b74528221115cf3cdd8c6731a6
tree50663221c8905d581f6639ec2b7405df8e2c08fd
parentcb5f9ea1ec3037a1b9e8446454031f57a6061916
[X86][XOP] Added XOP memory folding patterns + tests

This patch adds the complete AMD Bulldozer XOP instruction set to the memory folding pattern tables for stack folding, etc.

Note: Many of the XOP instructions have multiple table entries as it can fold loads from different sources.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228685 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/stack-folding-xop.ll [new file with mode: 0644]