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:
3cba33c
)
[VPlan] Replace VPBranchOnMaskSC::classof with VP_CLASSOF_IMPL. (NFC)
author
Florian Hahn
<flo@fhahn.com>
Wed, 18 Jan 2023 12:14:57 +0000
(12:14 +0000)
committer
Florian Hahn
<flo@fhahn.com>
Wed, 18 Jan 2023 12:14:58 +0000
(12:14 +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
36702d0
..
69eaf57
100644
(file)
--- a/
llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/
llvm/lib/Transforms/Vectorize/VPlan.h
@@
-1563,10
+1563,7
@@
public:
addOperand(BlockInMask);
}
- /// Method to support type inquiry through isa, cast, and dyn_cast.
- static inline bool classof(const VPDef *D) {
- return D->getVPDefID() == VPDef::VPBranchOnMaskSC;
- }
+ VP_CLASSOF_IMPL(VPDef::VPBranchOnMaskSC)
/// Generate the extraction of the appropriate bit from the block mask and the
/// conditional branch.