[mlir] Use x.empty() instead of llvm::empty(x) (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 18 Sep 2022 17:53:49 +0000 (10:53 -0700)
committerKazu Hirata <kazu@google.com>
Sun, 18 Sep 2022 17:53:49 +0000 (10:53 -0700)
commitf55ed88936f3cdf0e9c0ac9c52761dd199b6ab2b
treebce8a3d52b94879e8fe3af336f42db0ab9dd5081
parent3e720fa9dce6cf4020c498c1e75be4c94dd5075d
[mlir] Use x.empty() instead of llvm::empty(x) (NFC)

I'm planning to deprecate and eventually remove llvm::empty.

Note that no use of llvm::empty requires the ability of llvm::empty to
determine the emptiness from begin/end only.
mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
mlir/lib/IR/Block.cpp
mlir/lib/IR/Operation.cpp
mlir/lib/Rewrite/FrozenRewritePatternSet.cpp
mlir/lib/Tools/PDLL/AST/NodePrinter.cpp
mlir/lib/Transforms/Utils/DialectConversion.cpp
mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp