IRBuilder<> assumes specific values for template parameters.
IRBuilderBase abstracts away the template.
Reviewed By: simoll
Differential Revision: https://reviews.llvm.org/D122032
};
private:
- IRBuilder<> &Builder;
+ IRBuilderBase &Builder;
Behavior ErrorHandling;
// Explicit mask parameter.
}
public:
- VectorBuilder(IRBuilder<> &Builder,
+ VectorBuilder(IRBuilderBase &Builder,
Behavior ErrorHandling = Behavior::ReportAndAbort)
: Builder(Builder), ErrorHandling(ErrorHandling), Mask(nullptr),
ExplicitVectorLength(nullptr),