diff --git a/include/llvm/Support/PatternMatch.h b/include/llvm/Support/PatternMatch.h index f02bc347a17..bee67686378 100644 --- a/include/llvm/Support/PatternMatch.h +++ b/include/llvm/Support/PatternMatch.h @@ -453,6 +453,13 @@ struct CastClass_match { } }; +/// m_BitCast +template +inline CastClass_match +m_BitCast(const OpTy &Op) { + return CastClass_match(Op); +} + /// m_PtrToInt template inline CastClass_match