pengfei added inline comments.

================
Comment at: llvm/docs/LangRef.rst:2166
+
+    If the mode is ``"dynamic"``, the behavior is derived from the
+    dynamic state of the floating-point environment. Transformations
----------------
1. Does it mean users must specify `dynamic` when they change FTZ/DAZ in a 
function?
2. If 1) is true, is there a way to partially set on functions in its call 
stack, e.g.,
```
main
  f0
  f1
    f10
      setFtzDaz(true);
  f2
  f3
```
Ideally, users may want to tell compiler `main`, `f1`, `f10` is `dynamic`, 
while `f0` is `ieee` and `f2`, `f3` is `positive-zero`, rather than `dynamic` 
for all.
3. If 2) is true, it looks silly to do it one by one manually. Should compiler 
help to deduce this information itself?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142907/new/

https://reviews.llvm.org/D142907

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to