[llvm] 4fe2e42 - [X86] Remove cfi noise from splat-for-size.ll tests

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 9 09:53:33 PDT 2022


Author: Simon Pilgrim
Date: 2022-04-09T17:53:27+01:00
New Revision: 4fe2e42bbc18cb9e412b18dfcfe50e9b1f45f631

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

LOG: [X86] Remove cfi noise from splat-for-size.ll tests

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/splat-for-size.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/splat-for-size.ll b/llvm/test/CodeGen/X86/splat-for-size.ll
index 97977f8823c89..932b23bd37ba5 100644
--- a/llvm/test/CodeGen/X86/splat-for-size.ll
+++ b/llvm/test/CodeGen/X86/splat-for-size.ll
@@ -388,9 +388,7 @@ define <8 x i64> @pr23259() #1 {
 ; AVX-LABEL: pr23259:
 ; AVX:       # %bb.0: # %entry
 ; AVX-NEXT:    pushq $1
-; AVX-NEXT:    .cfi_adjust_cfa_offset 8
 ; AVX-NEXT:    popq %rax
-; AVX-NEXT:    .cfi_adjust_cfa_offset -8
 ; AVX-NEXT:    vmovq %rax, %xmm0
 ; AVX-NEXT:    vinsertf128 $1, %xmm0, %ymm0, %ymm1
 ; AVX-NEXT:    vperm2f128 {{.*#+}} ymm0 = mem[2,3],ymm0[0,1]
@@ -402,9 +400,7 @@ define <8 x i64> @pr23259() #1 {
 ; AVX2:       # %bb.0: # %entry
 ; AVX2-NEXT:    vmovdqa A(%rip), %ymm0
 ; AVX2-NEXT:    pushq $1
-; AVX2-NEXT:    .cfi_adjust_cfa_offset 8
 ; AVX2-NEXT:    popq %rax
-; AVX2-NEXT:    .cfi_adjust_cfa_offset -8
 ; AVX2-NEXT:    vmovq %rax, %xmm1
 ; AVX2-NEXT:    vpunpcklqdq {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
 ; AVX2-NEXT:    vpermq {{.*#+}} ymm0 = ymm0[2,1,1,1]
@@ -417,8 +413,8 @@ entry:
   ret <8 x i64> %shuffle
 }
 
-attributes #0 = { optsize }
-attributes #1 = { minsize }
+attributes #0 = { nounwind optsize }
+attributes #1 = { nounwind minsize }
 
 !llvm.module.flags = !{!0}
 !0 = !{i32 1, !"ProfileSummary", !1}


        


More information about the llvm-commits mailing list