[PATCH] D149587: InstSimplify: Simplifications for ldexp
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 09:20:52 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6100
+ // ldexp(-inf, x) -> -inf
+ if (C && (C->isZero() || C->isInfinity()))
+ return Op0;
----------------
foad wrote:
> Also handle qNaN here?
Technically would add more brokenness to old mips signaling nans although I don’t think we have a ruling on how much we should care
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149587/new/
https://reviews.llvm.org/D149587
More information about the llvm-commits
mailing list