projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb1223
)
[VPlan] Replace VPExpandSCEVRecipe::classof with VP_CLASSOF_IMPL. (NFC)
author
Florian Hahn
<flo@fhahn.com>
Tue, 17 Jan 2023 21:11:32 +0000
(21:11 +0000)
committer
Florian Hahn
<flo@fhahn.com>
Tue, 17 Jan 2023 21:11:33 +0000
(21:11 +0000)
llvm/lib/Transforms/Vectorize/VPlan.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Vectorize/VPlan.h
b/llvm/lib/Transforms/Vectorize/VPlan.h
index
84a7cfb
..
36702d0
100644
(file)
--- a/
llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/
llvm/lib/Transforms/Vectorize/VPlan.h
@@
-1742,10
+1742,7
@@
public:
~VPExpandSCEVRecipe() override = default;
- /// Method to support type inquiry through isa, cast, and dyn_cast.
- static inline bool classof(const VPDef *D) {
- return D->getVPDefID() == VPExpandSCEVSC;
- }
+ VP_CLASSOF_IMPL(VPDef::VPExpandSCEVSC)
/// Generate a canonical vector induction variable of the vector loop, with
void execute(VPTransformState &State) override;