From f27469b850ae226b206bae5e74f919b5f775d3d5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 20 Jun 2019 17:03:27 +0000 Subject: [PATCH] AMDGPU: Eliminate test usage of legacy FP elim attributes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363950 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/AMDGPU/byval-frame-setup.ll | 2 +- test/CodeGen/AMDGPU/fmac.sdwa.ll | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/AMDGPU/byval-frame-setup.ll b/test/CodeGen/AMDGPU/byval-frame-setup.ll index c0f86da2148..671c8257a74 100644 --- a/test/CodeGen/AMDGPU/byval-frame-setup.ll +++ b/test/CodeGen/AMDGPU/byval-frame-setup.ll @@ -346,4 +346,4 @@ declare void @llvm.lifetime.end.p5i8(i64, i8 addrspace(5)* nocapture) #3 attributes #0 = { nounwind } attributes #1 = { noinline norecurse nounwind } -attributes #2 = { nounwind norecurse "no-frame-pointer-elim"="true" } +attributes #2 = { nounwind norecurse "frame-pointer"="all" } diff --git a/test/CodeGen/AMDGPU/fmac.sdwa.ll b/test/CodeGen/AMDGPU/fmac.sdwa.ll index 4eb910440bc..8151c9df31b 100644 --- a/test/CodeGen/AMDGPU/fmac.sdwa.ll +++ b/test/CodeGen/AMDGPU/fmac.sdwa.ll @@ -72,5 +72,5 @@ define linkonce_odr hidden <4 x half> @_Z13convert_half4Dv4_h(<4 x i8>) local_un declare <4 x half> @llvm.fmuladd.v4f16(<4 x half>, <4 x half>, <4 x half>) -attributes #0 = { convergent nounwind readonly "correctly-rounded-divide-sqrt-fp-math"="false" "denorms-are-zero"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="64" "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"="gfx1010" "target-features"="+16-bit-insts,+dl-insts,+dpp,+fp32-denormals,+fp64-fp16-denormals,+gfx10-insts,+gfx9-insts,+s-memrealtime,-code-object-v3,-sram-ecc,-xnack" "unsafe-fp-math"="false" "use-soft-float"="false" } -attributes #1 = { norecurse nounwind readnone "correctly-rounded-divide-sqrt-fp-math"="false" "denorms-are-zero"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="64" "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-features"="+fp64-fp16-denormals,-fp32-denormals" "unsafe-fp-math"="false" "use-soft-float"="false" } +attributes #0 = { convergent nounwind readonly} +attributes #1 = { norecurse nounwind readnone } -- 2.40.0