[llvm] edc80e7 - [X86] setcc.ll - remove unnecessary cpu attributes

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 13:16:40 PDT 2022


Author: Simon Pilgrim
Date: 2022-04-27T21:09:57+01:00
New Revision: edc80e7d43ca6e92072a7c6c5307f6e8c90a649b

URL: https://github.com/llvm/llvm-project/commit/edc80e7d43ca6e92072a7c6c5307f6e8c90a649b
DIFF: https://github.com/llvm/llvm-project/commit/edc80e7d43ca6e92072a7c6c5307f6e8c90a649b.diff

LOG: [X86] setcc.ll - remove unnecessary cpu attributes

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/setcc.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/setcc.ll b/llvm/test/CodeGen/X86/setcc.ll
index f453caaf4604..fb132ed4a09a 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" }


        


More information about the llvm-commits mailing list