[PATCH] D38079: DebugInfo: Remove unneeded attributes from test/DebugInfo/Generic/imported-name-inlined.ll

Miloš Stojanović via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 08:53:45 PDT 2017


mstojanovic updated this revision to Diff 116010.
mstojanovic retitled this revision from "DebugInfo: Remove target-cpu from test/DebugInfo/Generic/imported-name-inlined.ll " to "DebugInfo: Remove unneeded attributes from test/DebugInfo/Generic/imported-name-inlined.ll ".
mstojanovic edited the summary of this revision.
mstojanovic added a comment.

I do need someone to commit it.


https://reviews.llvm.org/D38079

Files:
  test/DebugInfo/Generic/imported-name-inlined.ll


Index: test/DebugInfo/Generic/imported-name-inlined.ll
===================================================================
--- test/DebugInfo/Generic/imported-name-inlined.ll
+++ test/DebugInfo/Generic/imported-name-inlined.ll
@@ -33,17 +33,14 @@
 ; CHECK:     NULL
 ; CHECK:   NULL
 
-; Function Attrs: noinline optnone uwtable
-define void @_Z2f2v() #0 !dbg !14 {
+; Function Attrs: noinline
+define void @_Z2f2v() noinline !dbg !14 {
 entry:
   call void @_ZN2ns1fEv(), !dbg !15
   ret void, !dbg !17
 }
 
-declare void @_ZN2ns1fEv() #1
-
-attributes #0 = { noinline optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
-attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
+declare void @_ZN2ns1fEv()
 
 !llvm.dbg.cu = !{!0}
 !llvm.module.flags = !{!10, !11, !12}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38079.116010.patch
Type: text/x-patch
Size: 1597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/1093d77c/attachment.bin>


More information about the llvm-commits mailing list