[PATCH] D47963: [LangRef] Clarify that nnan and ninf don't produce undef or poison.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 18 13:58:33 PDT 2018
efriedma added a subscriber: sunfish.
efriedma added a comment.
> Only if the fcmp is marked with nnan or ninf right?
Yes, but it's inconvenient in C because fast-math flags work on a per-file basis.
---
If the consensus is that we need to produce poison for nnan/ninf instead of an unspecified value, I can change that. I guess it allows more aggressive fcmp transforms in some cases?
Repository:
rL LLVM
https://reviews.llvm.org/D47963
More information about the llvm-commits
mailing list