[VPlan] Use isa<> instead of directly checking VPRecipeID (NFC).
authorFlorian Hahn <flo@fhahn.com>
Fri, 2 Oct 2020 16:36:22 +0000 (17:36 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 2 Oct 2020 16:47:35 +0000 (17:47 +0100)
commit0867a9e85ace8ed0b11f6a7fc4c9e4bb1606263b
tree84510dc8b6dd10f047bbcba858aa590c9b27dbed
parent64c54c5459cfae8478ce28710784f36b0d94fb2f
[VPlan] Use isa<> instead of directly checking VPRecipeID (NFC).

getVPRecipeID is intended to be only used in `classof` helpers. Instead
of checking it directly, use isa<> with the correct recipe type.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp