[llvm] [test][Transforms] Remove unsafe-fp-math uses part 3 (NFC) (PR #164787)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 23:49:55 PDT 2025


================
@@ -74,12 +74,8 @@ for.end:                                          ; preds = %for.cond.cleanup
   ret void
 }
 
-declare void @llvm.lifetime.start.p0(ptr nocapture) #1
-declare void @llvm.lifetime.end.p0(ptr nocapture) #1
-
-attributes #0 = { nounwind ssp uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "tune-cpu"="generic" "unsafe-fp-math"="true" }
----------------
paperchalice wrote:

#164605 suggested removing attributes sections, so I applied the same rule to Transform, but SampleProfile is an exception.

https://github.com/llvm/llvm-project/pull/164787


More information about the llvm-commits mailing list