[all-commits] [llvm/llvm-project] aa1a19: [VPlan] Use isa<> instead getVPRecipeID in getFirs...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Fri Oct 30 07:56:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: aa1a198a6405aeb1321fb3209bee787dc3415197
https://github.com/llvm/llvm-project/commit/aa1a198a6405aeb1321fb3209bee787dc3415197
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-10-30 (Fri, 30 Oct 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list