forked from OSchip/llvm-project
Remove extra `;` after function definition (NFC)
Fix a GCC warning -- PiperOrigin-RevId: 247670176
This commit is contained in:
parent
a5ca314c4c
commit
91f0781000
|
@ -155,7 +155,7 @@ NestedPattern For(FilterFunctionType filter, ArrayRef<NestedPattern> nested) {
|
|||
|
||||
bool isLoadOrStore(Operation &op) {
|
||||
return op.isa<LoadOp>() || op.isa<StoreOp>();
|
||||
};
|
||||
}
|
||||
|
||||
} // end namespace matcher
|
||||
} // end namespace mlir
|
||||
|
|
|
@ -97,7 +97,7 @@ static const char *const *getICmpPredicateNames() {
|
|||
/*UGT*/ "ugt",
|
||||
/*UGE*/ "uge"};
|
||||
return predicateNames;
|
||||
};
|
||||
}
|
||||
|
||||
// Returns a value of the ICmp predicate corresponding to the given mnemonic.
|
||||
// Returns -1 if there is no such mnemonic.
|
||||
|
|
|
@ -944,7 +944,7 @@ void mlir::LLVM::ensureDistinctSuccessors(Module *m) {
|
|||
::ensureDistinctSuccessors(bb);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Create a set of converters that live in the pass object by passing them a
|
||||
// reference to the LLVM IR dialect. Store the module associated with the
|
||||
|
|
|
@ -39,7 +39,7 @@ mlir::tblgen::OpTrait mlir::tblgen::OpTrait::create(const llvm::Init *init) {
|
|||
}
|
||||
|
||||
mlir::tblgen::OpTrait::OpTrait(Kind kind, const llvm::Record *def)
|
||||
: def(def), kind(kind){};
|
||||
: def(def), kind(kind) {}
|
||||
|
||||
llvm::StringRef mlir::tblgen::NativeOpTrait::getTrait() const {
|
||||
return def->getValueAsString("trait");
|
||||
|
|
|
@ -143,7 +143,7 @@ private:
|
|||
std::vector<Operation *> worklist;
|
||||
DenseMap<Operation *, unsigned> worklistMap;
|
||||
};
|
||||
}; // end anonymous namespace
|
||||
} // end anonymous namespace
|
||||
|
||||
/// Perform the rewrites.
|
||||
bool GreedyPatternRewriteDriver::simplifyFunction(int maxIterations) {
|
||||
|
|
Loading…
Reference in New Issue