[llvm] 7fde0b2 - Remove unused attributes from move-dbg-values-imm-test.mir

Shubham Sandeep Rastogi via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 09:43:25 PDT 2023


Author: Shubham Sandeep Rastogi
Date: 2023-04-27T09:42:20-07:00
New Revision: 7fde0b2fa16b9677895441f28c0c0828f6a81c60

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

LOG: Remove unused attributes from move-dbg-values-imm-test.mir

Differential Revision: https://reviews.llvm.org/D149355

Added: 
    

Modified: 
    llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir b/llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
index 5992eb596089a..a6bc006c1fe42 100644
--- a/llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
+++ b/llvm/test/DebugInfo/ARM/move-dbg-values-imm-test.mir
@@ -11,7 +11,7 @@
   target triple = "armv8-unknown-linux"
   
   ; Function Attrs: uwtable
-  define i32 @main() #0 !dbg !6 {
+  define i32 @main() !dbg !6 {
   entry:
     %c = alloca i32, align 4
     tail call void @llvm.dbg.value(metadata i32 13, metadata !11, metadata !DIExpression()), !dbg !13
@@ -24,14 +24,9 @@
     ret i32 %c.0.c.0., !dbg !16
   }
   
-  declare i32 @_Z4funcv() #1
+  declare i32 @_Z4funcv()
   
-  ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
-  declare void @llvm.dbg.value(metadata, metadata, metadata) #2
-  
-  attributes #0 = { uwtable "frame-pointer"="none" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
-  attributes #1 = { "frame-pointer"="none" "less-precise-fpmad"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
-  attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
+  declare void @llvm.dbg.value(metadata, metadata, metadata)
   
   !llvm.dbg.cu = !{!0}
   !llvm.module.flags = !{!3, !4}


        


More information about the llvm-commits mailing list