[llvm] bf4596b - CodeGen: Clean up some tests with broken "strictfp" attribute

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 17:27:03 PST 2023


Author: Matt Arsenault
Date: 2023-01-03T20:26:57-05:00
New Revision: bf4596bf5862c0a7092507463f6df9e80566a93d

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

LOG: CodeGen: Clean up some tests with broken "strictfp" attribute

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/strict-fp-opt.ll
    llvm/test/CodeGen/PowerPC/aix-fptoint.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/strict-fp-opt.ll b/llvm/test/CodeGen/AArch64/strict-fp-opt.ll
index f8b76f6c55bd1..17afdf739a2a6 100644
--- a/llvm/test/CodeGen/AArch64/strict-fp-opt.ll
+++ b/llvm/test/CodeGen/AArch64/strict-fp-opt.ll
@@ -177,4 +177,4 @@ declare float @llvm.experimental.constrained.fdiv.f32(float, float, metadata, me
 declare i32 @llvm.get.rounding()
 declare void @llvm.set.rounding(i32)
 
-attributes #0 = { "strictfp" }
+attributes #0 = { strictfp }

diff  --git a/llvm/test/CodeGen/PowerPC/aix-fptoint.ll b/llvm/test/CodeGen/PowerPC/aix-fptoint.ll
index cb1d4cd182a71..482962ac9fc72 100644
--- a/llvm/test/CodeGen/PowerPC/aix-fptoint.ll
+++ b/llvm/test/CodeGen/PowerPC/aix-fptoint.ll
@@ -48,7 +48,7 @@ entry:
 declare i64 @llvm.experimental.constrained.fptosi.i64.f64(double, metadata) #1
 declare i64 @llvm.experimental.constrained.fptoui.i64.f64(double, metadata) #1
 
-attributes #0 = { nounwind strictfp "strictfp" "target-cpu"="pwr7" }
+attributes #0 = { nounwind strictfp "target-cpu"="pwr7" }
 attributes #1 = { nounwind }
 
 


        


More information about the llvm-commits mailing list