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:
100cf45
)
[VPlan] Replace VPInterleaveRecipe::classof with VP_CLASSOF_IMPL. (NFC)
author
Florian Hahn
<flo@fhahn.com>
Wed, 18 Jan 2023 14:23:22 +0000
(14:23 +0000)
committer
Florian Hahn
<flo@fhahn.com>
Wed, 18 Jan 2023 14:23:22 +0000
(14:23 +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
69eaf57
..
07f6609
100644
(file)
--- a/
llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/
llvm/lib/Transforms/Vectorize/VPlan.h
@@
-1396,9
+1396,7
@@
public:
}
~VPInterleaveRecipe() override = default;
- static inline bool classof(const VPDef *D) {
- return D->getVPDefID() == VPDef::VPInterleaveSC;
- }
+ VP_CLASSOF_IMPL(VPDef::VPInterleaveSC)
/// Return the address accessed by this recipe.
VPValue *getAddr() const {