summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2017-04-21 09:20:44 +0000
committerClement Courbet <courbet@google.com>2017-04-21 09:20:44 +0000
commita7c233fbe043f61d3ef760129a879ec571141668 (patch)
tree2853d80ce5ca50db5755ba196d0a0c74f8b94824 /llvm/test/CodeGen/X86/memcpy-struct-by-value.ll
parent1ce3b82dea8eb35e77974fc9d97f9a08c690c53d (diff)
downloadbcm5719-llvm-a7c233fbe043f61d3ef760129a879ec571141668.tar.gz
bcm5719-llvm-a7c233fbe043f61d3ef760129a879ec571141668.zip
add more tests
llvm-svn: 300958
Diffstat (limited to 'llvm/test/CodeGen/X86/memcpy-struct-by-value.ll')
-rw-r--r--llvm/test/CodeGen/X86/memcpy-struct-by-value.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll b/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll
index 4bb022e9332..0537075aac3 100644
--- a/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll
+++ b/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll
@@ -1,5 +1,7 @@
; RUN: llc -mtriple=x86_64-linux-gnu -mattr=-fast-string < %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=NOFAST
; RUN: llc -mtriple=x86_64-linux-gnu -mattr=+fast-string < %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=FAST
+; RUN: llc -mtriple=x86_64-linux-gnu -mcpu=haswell < %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=HASWELL
+; RUN: llc -mtriple=x86_64-linux-gnu -mcpu=generic < %s -o - | FileCheck %s --check-prefix=ALL --check-prefix=GENERIC
%struct.large = type { [4096 x i8] }
@@ -11,5 +13,7 @@ define void @test1(%struct.large* nocapture %x) nounwind {
; ALL-LABEL: test1:
; NOFAST: rep;movsq
+; GENERIC: rep;movsq
; FAST: rep;movsb
+; HASWELL: rep;movsb
}
OpenPOWER on IntegriCloud