File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mlir/lib/Dialect/Tosa/Transforms Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ struct TosaValidation : public tosa::impl::TosaValidationBase<TosaValidation> {
46
46
private:
47
47
void runOnOperation () override ;
48
48
49
- llvm::Optional<TosaProfileEnum> profile_type ;
49
+ llvm::Optional<TosaProfileEnum> profileType ;
50
50
};
51
51
52
52
void TosaValidation::runOnOperation () {
53
- profile_type = symbolizeEnum<TosaProfileEnum>(profileName);
53
+ profileType = symbolizeEnum<TosaProfileEnum>(profileName);
54
54
55
55
getOperation ().walk ([&](Operation *op) {
56
56
for (Value operand : op->getOperands ()) {
57
- if ((profile_type == TosaProfileEnum::BaseInference) &&
57
+ if ((profileType == TosaProfileEnum::BaseInference) &&
58
58
getElementTypeOrSelf (operand).isa <FloatType>()) {
59
59
return signalPassFailure ();
60
60
}
You can’t perform that action at this time.
0 commit comments