Enable FeatureFastUAMem for btver2
authorSanjay Patel <spatel@rotateright.com>
Fri, 28 Nov 2014 18:40:18 +0000 (18:40 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 28 Nov 2014 18:40:18 +0000 (18:40 +0000)
commitc5992119fc598a48ed1456c26a61a2a8030744ce
treea9dad439c39c77643c426e019f03839fcd344acd
parentf716393db9f56721a1d712ef863a6853df8b7567
Enable FeatureFastUAMem for btver2

Allow unaligned 16-byte memop codegen for btver2. No functional changes for any other subtargets.

Replace the existing supposed small memcpy test with an actual test of a small memcpy.
The previous test wasn't using FileCheck either.

This patch should allow us to close PR21541 ( http://llvm.org/bugs/show_bug.cgi?id=21541 ).

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td
test/CodeGen/X86/small-byval-memcpy.ll