[llvm] r300958 - add more tests

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 02:20:45 PDT 2017


Author: courbet
Date: Fri Apr 21 04:20:44 2017
New Revision: 300958

URL: http://llvm.org/viewvc/llvm-project?rev=300958&view=rev
Log:
add more tests

Modified:
    llvm/trunk/test/CodeGen/X86/memcpy-struct-by-value.ll

Modified: llvm/trunk/test/CodeGen/X86/memcpy-struct-by-value.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/memcpy-struct-by-value.ll?rev=300958&r1=300957&r2=300958&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/memcpy-struct-by-value.ll (original)
+++ llvm/trunk/test/CodeGen/X86/memcpy-struct-by-value.ll Fri Apr 21 04:20:44 2017
@@ -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* nocapt
 
 ; ALL-LABEL: test1:
 ; NOFAST: rep;movsq
+; GENERIC: rep;movsq
 ; FAST: rep;movsb
+; HASWELL: rep;movsb
 }




More information about the llvm-commits mailing list