[VPlan] Use isa<> instead getVPRecipeID in getFirstNonPhi (NFC).
authorFlorian Hahn <flo@fhahn.com>
Fri, 30 Oct 2020 14:45:08 +0000 (14:45 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 30 Oct 2020 14:56:06 +0000 (14:56 +0000)
commitaa1a198a6405aeb1321fb3209bee787dc3415197
tree753b05b7585dc9e472c8073c30aef773be8ec004
parentb7c91a9b8e4762c9e052b67fcd3329615309f1d0
[VPlan] Use isa<> instead getVPRecipeID in getFirstNonPhi (NFC).

As per the comment in VPRecipeBase, clients should not rely on
getVPRecipeID, as it may change in the future. It should only be used in
classof implementations. Use isa instead in getFirstNonPhi.
llvm/lib/Transforms/Vectorize/VPlan.cpp