[PATCH] D74263: [ValueTracking] Improve isKnownNonNaN() to recognize zero splats.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 13 14:06:14 PST 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4781
+ if (isa<ConstantAggregateZero>(V) &&
+ V->getType()->getScalarType()->isFloatingPointTy())
+ return true;
----------------
I don't think you need the FP type check
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74263/new/
https://reviews.llvm.org/D74263
More information about the llvm-commits
mailing list