[PATCH] D27879: [AVX-512][InstCombine] Teach InstCombine to turn scalar add/sub/mul/div with rounding intrinsics into normal IR operations if the rounding mode is CUR_DIRECTION.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 25 17:52:28 PST 2016


craig.topper accepted this revision.
craig.topper added a reviewer: craig.topper.
craig.topper added a comment.
This revision is now accepted and ready to land.

Accepting based on Zvi's LGTM and determining that the dyn_cast helps keep the optimization robust against badly formed uses of the intrinsics.


https://reviews.llvm.org/D27879





More information about the llvm-commits mailing list