rjmccall added a comment.

I think on balance the right thing to do is probably to add an alternative to 
`-fexcess-precision`, like `-fexcess-precision=none`.  We can default to 
`-fexcess-precision=standard` and treat `-fexcess-precision=fast` as an alias 
for `standard` for now.



================
Comment at: clang/docs/LanguageExtensions.rst:746
 * SPIR
-* X86 (Only available under feature AVX512-FP16)
+* X86 (Enabled with feature SSE2 and up)
 
----------------
Note that I'm not trying to propose this specific name for the option; I'm just 
saying that, if we provide a way to control this, it should be documented here 
as the central place we document Clang's `_Float16` support.


================
Comment at: clang/lib/CodeGen/CGExprComplex.cpp:934
+  return ComplexExprEmitter(*this).EmitPromoted(E, DstTy);
+}
+
----------------
`EmitPromotedComplexExpr` should look like `EmitPromotedScalarExpr`, i.e. it 
should start with an expression, check for the arithmetic cases where we 
directly support promoted emission, and otherwise emit the unpromoted pair and 
then promote it.


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

https://reviews.llvm.org/D113107

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

Reply via email to