[PATCH] D79409: [InstCombine] Remove hasNoInfs check for pow(C, y) -> exp2(log2(C)*y)
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 13:00:43 PDT 2020
evandro added a comment.
`pow(∞, y)` → 0 if `y < 0` or ∞ if `y > 0`
`exp2(log2(∞) * y)` → `exp2(∞ * y)` → `exp2(∞)` → 0 if `y < 0` or ∞ if `y > 0`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79409/new/
https://reviews.llvm.org/D79409
More information about the llvm-commits
mailing list