From d469ac59ee110e64d7de571af165befe1e32ce19 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 20 Sep 2017 15:59:57 +0000 Subject: [PATCH] DebugInfo: Remove unneeded attributes from test/DebugInfo/Generic/imported-name-inlined.ll MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove unneeded attributes from test/DebugInfo/Generic/imported-name-inlined.ll because it was causing failures on pure MIPS builds. Patch by Miloš Stojanović! Differential Revision: https://reviews.llvm.org/D38079 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313762 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/Generic/imported-name-inlined.ll | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/DebugInfo/Generic/imported-name-inlined.ll b/test/DebugInfo/Generic/imported-name-inlined.ll index 49b36664379..2549879f467 100644 --- a/test/DebugInfo/Generic/imported-name-inlined.ll +++ b/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} -- 2.40.0