[PATCH] D42879: InstCombine: 1./x >= 0. -> x >= 0.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 08:17:17 PST 2018


spatel added reviewers: efriedma, hfinkel.
spatel added a comment.

Do we need to restrict this to 1.0 / X ? If we only care about the sign of the fdiv result and we're ruling out INF, then any constant 'C / X' should be ok? Can also handle 'X / C'?


Repository:
  rL LLVM

https://reviews.llvm.org/D42879





More information about the llvm-commits mailing list