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)
commite57f3c0a4235573d824e18b01799e6a8e21a6f22
tree520104f801c81a644436cbe2dec02b99b80b7886
parent18bc3bf830a88fc7d745a97c2e9ff5288628da5c
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

llvm-svn: 222925
llvm/lib/Target/X86/X86.td
llvm/test/CodeGen/X86/small-byval-memcpy.ll