This patch addresses handling fast math flags for intrinsics and is malleable enough to provide support for new intrinsics with little or no changes after the fact.
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
5549 | Minor clean up on the braces, it will be in the next upload. |
Comment Actions
I'm still not sold on this approach. IIUC, we're still missing propagation on fcmp, vector reduce, and libcalls.
As I mentioned in D46483, D37686 had a more complete implementation. I drafted a much simpler version of that patch locally. Let me add some tests and clean that up a bit and see if that looks better to you.
Minor clean up on the braces, it will be in the next upload.