Skip to content

Commit 4f020c4

Browse files
authored
[doc] Remove unsafe-fp-math references (#164579)
Stop mentioning `unsafe-fp-math` related things in documents.
1 parent 0d20f3f commit 4f020c4

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

llvm/docs/CommandGuide/llc.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ End-user Options
125125

126126
Enable setting the FP exceptions build attribute not to use exceptions.
127127

128-
.. option:: --enable-unsafe-fp-math
129-
130-
Enable optimizations that make unsafe assumptions about IEEE math (e.g. that
131-
addition is associative) or may not work for all input ranges. These
132-
optimizations allow the code generator to make use of some instructions which
133-
would otherwise not be usable (such as ``fsin`` on X86).
134-
135128
.. option:: --stats
136129

137130
Print statistics recorded by code-generation passes.

llvm/docs/CommandGuide/lli.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ FLOATING POINT OPTIONS
107107

108108
Enable optimizations that assume no NAN values.
109109

110-
.. option:: -enable-unsafe-fp-math
111-
112-
Causes :program:`lli` to enable optimizations that may decrease floating point
113-
precision.
114-
115110
.. option:: -soft-float
116111

117112
Causes :program:`lli` to generate software floating point library calls instead of

llvm/docs/SourceLevelDebugging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ Compiled to LLVM, this function would be represented like this:
674674
ret void, !dbg !24
675675
}
676676
677-
attributes #0 = { nounwind ssp uwtable "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
677+
attributes #0 = { nounwind ssp uwtable "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }
678678
attributes #1 = { nounwind readnone }
679679
680680
!llvm.dbg.cu = !{!0}

0 commit comments

Comments
 (0)