[PATCH] D148225: ValueTracking: Handle shufflevector in computeKnownFPClass
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 01:35:54 PDT 2023
foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.
LGTM with nit.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4610
+ APInt DemandedLHS, DemandedRHS;
+ auto *Shuf = dyn_cast<ShuffleVectorInst>(Op);
+ if (!Shuf || !getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS))
----------------
`cast` not `dyn_cast`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148225/new/
https://reviews.llvm.org/D148225
More information about the llvm-commits
mailing list