From edc80e7d43ca6e92072a7c6c5307f6e8c90a649b Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 27 Apr 2022 21:06:02 +0100 Subject: [PATCH] [X86] setcc.ll - remove unnecessary cpu attributes --- llvm/test/CodeGen/X86/setcc.ll | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/test/CodeGen/X86/setcc.ll b/llvm/test/CodeGen/X86/setcc.ll index f453caa..fb132ed 100644 --- a/llvm/test/CodeGen/X86/setcc.ll +++ b/llvm/test/CodeGen/X86/setcc.ll @@ -99,7 +99,7 @@ define i32 @t4(i32 %a) { ret i32 %add } -define i8 @t5(i32 %a) #0 { +define i8 @t5(i32 %a) { ; X86-LABEL: t5: ; X86: ## %bb.0: ; X86-NEXT: cmpl $0, {{[0-9]+}}(%esp) @@ -117,7 +117,7 @@ define i8 @t5(i32 %a) #0 { ret i8 %.not } -define zeroext i1 @t6(i32 %a) #0 { +define zeroext i1 @t6(i32 %a) { ; X86-LABEL: t6: ; X86: ## %bb.0: ; X86-NEXT: cmpl $0, {{[0-9]+}}(%esp) @@ -318,5 +318,3 @@ define i32 @PR55138(i32 %x) { %and = and i32 %shr, 1 ret i32 %and } - -attributes #0 = { "target-cpu"="skylake-avx512" } -- 2.7.4