From: Sanjay Patel Date: Thu, 8 Jun 2017 17:02:39 +0000 (+0000) Subject: [x86] remove unused param from tests; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5016ba16cfbd198a8ebfd268e4cdd91caa706696;p=llvm [x86] remove unused param from tests; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304989 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/memcmp.ll b/test/CodeGen/X86/memcmp.ll index 018d26b9226..4e2475b1c67 100644 --- a/test/CodeGen/X86/memcmp.ll +++ b/test/CodeGen/X86/memcmp.ll @@ -29,7 +29,7 @@ define i32 @length2(i8* %X, i8* %Y) nounwind { ret i32 %m } -define i1 @length2_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { +define i1 @length2_eq(i8* %X, i8* %Y) nounwind { ; X32-LABEL: length2_eq: ; X32: # BB#0: ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -50,7 +50,7 @@ define i1 @length2_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { ret i1 %c } -define i1 @length2_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length2_eq_const(i8* %X) nounwind { ; X32-LABEL: length2_eq_const: ; X32: # BB#0: ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -70,7 +70,7 @@ define i1 @length2_eq_const(i8* %X, i32* nocapture %P) nounwind { ret i1 %c } -define i1 @length2_eq_nobuiltin_attr(i8* %X, i8* %Y, i32* nocapture %P) nounwind { +define i1 @length2_eq_nobuiltin_attr(i8* %X, i8* %Y) nounwind { ; X32-LABEL: length2_eq_nobuiltin_attr: ; X32: # BB#0: ; X32-NEXT: pushl $0 @@ -162,7 +162,7 @@ define i32 @length4(i8* %X, i8* %Y) nounwind { ret i32 %m } -define i1 @length4_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { +define i1 @length4_eq(i8* %X, i8* %Y) nounwind { ; X32-LABEL: length4_eq: ; X32: # BB#0: ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -183,7 +183,7 @@ define i1 @length4_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { ret i1 %c } -define i1 @length4_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length4_eq_const(i8* %X) nounwind { ; X32-LABEL: length4_eq_const: ; X32: # BB#0: ; X32-NEXT: movl {{[0-9]+}}(%esp), %eax @@ -266,7 +266,7 @@ define i32 @length8(i8* %X, i8* %Y) nounwind { ret i32 %m } -define i1 @length8_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { +define i1 @length8_eq(i8* %X, i8* %Y) nounwind { ; X32-LABEL: length8_eq: ; X32: # BB#0: ; X32-NEXT: pushl $0 @@ -290,7 +290,7 @@ define i1 @length8_eq(i8* %X, i8* %Y, i32* nocapture %P) nounwind { ret i1 %c } -define i1 @length8_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length8_eq_const(i8* %X) nounwind { ; X32-LABEL: length8_eq_const: ; X32: # BB#0: ; X32-NEXT: pushl $0 @@ -417,7 +417,7 @@ define i1 @length16_eq(i8* %x, i8* %y) nounwind { ret i1 %cmp } -define i1 @length16_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length16_eq_const(i8* %X) nounwind { ; X32-LABEL: length16_eq_const: ; X32: # BB#0: ; X32-NEXT: pushl $0 @@ -510,7 +510,7 @@ define i1 @length32_eq(i8* %x, i8* %y) nounwind { ret i1 %cmp } -define i1 @length32_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length32_eq_const(i8* %X) nounwind { ; X32-LABEL: length32_eq_const: ; X32: # BB#0: ; X32-NEXT: pushl $0 @@ -594,7 +594,7 @@ define i1 @length64_eq(i8* %x, i8* %y) nounwind { ret i1 %cmp } -define i1 @length64_eq_const(i8* %X, i32* nocapture %P) nounwind { +define i1 @length64_eq_const(i8* %X) nounwind { ; X32-LABEL: length64_eq_const: ; X32: # BB#0: ; X32-NEXT: pushl $0