DavidKreitzer added a comment.

This looks good to me, Craig. I am not worried about the constant folding 
issue, as I think constant folding these conversion intrinsics (assuming 
round-to-nearest) is a perfectly valid optimization in the absence of 
FENV_ACCESS. (FWIW, we don't do this constant folding in icc, but that is only 
because we have never gotten around to implementing it.) I am also not worried 
about the spurious 'inexact' exceptions that the changes to the mask intrinsics 
will cause.


Repository:
  rC Clang

https://reviews.llvm.org/D46863



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

Reply via email to