Properly propagate the FMF from the LLVM IR to this flag.
This is toward moving fp-contraction=fast from an LLVM TargetOption to a
FastMathFlag in order to fix PR25721.
Differential D31165
[SDAG] Add AllowContract to SNodeFlags anemet on Mar 20 2017, 8:09 PM. Authored by
Details Properly propagate the FMF from the LLVM IR to this flag. This is toward moving fp-contraction=fast from an LLVM TargetOption to a
Diff Detail
Event TimelineComment Actions I actually haven't looked at all of the patches. Can you add me to those? This patch LGTM. I made a couple of small suggestions for follow-ups. I don't know if this is addressed in one of the other patches, but we'll want to extend FMF to more than binops...or we won't be able to propagate the contract flag to FMA nodes.
Comment Actions You were already added to the LLVM patches (there is one left for now but I am working on more ;). I'll add you to the clang ones too.
Thanks, Sanjay! I committed the changes you requested (r298962, r298963).
Not, it's not addressed; we can do that later if it's useful. When is that useful? |
VectorReduction is missing. It's an independent change from this patch of course, but since you're here...