From f3a411fb406d2611f1d7abddfc345bec91b209b7 Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Fri, 21 Apr 2017 09:20:44 +0000 Subject: [PATCH] add more tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300958 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/memcpy-struct-by-value.ll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CodeGen/X86/memcpy-struct-by-value.ll b/test/CodeGen/X86/memcpy-struct-by-value.ll index 4bb022e9332..0537075aac3 100644 --- a/test/CodeGen/X86/memcpy-struct-by-value.ll +++ b/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 } -- 2.11.0