[PATCH] D37616: [X86] PR34149 Suboptimal codegen for fast minnum and maxnum.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 15:41:13 PDT 2017


spatel added a comment.

I might be missing some context here. If we have fast/nnan on these calls, then can't we simplify this in IR to fmp+select and not have to deal with this in the backend? The intrinsics only exist to make sure that NaN behavior in IR meets the higher level standards, so if we have nnan, then we don't need the intrinsic?


https://reviews.llvm.org/D37616





More information about the llvm-commits mailing list