[PATCH] D40594: [InstCombine] miscompile of __builtin_fmod

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 12:22:51 PST 2017


efriedma added a comment.

By many years of precedent, the "frem" instruction is supposed to match the C fmod(), as opposed to something else like the C99 remainder(); probably worth clarifying in LangRef.


https://reviews.llvm.org/D40594





More information about the cfe-commits mailing list