[all-commits] [llvm/llvm-project] 737391: [mlir] Slightly optimize getRegions checks by inli...
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Dec 5 11:32:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 737391bdf3d09fdb6789b24891b07a2668d3e44f
https://github.com/llvm/llvm-project/commit/737391bdf3d09fdb6789b24891b07a2668d3e44f
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M mlir/include/mlir/IR/Operation.h
M mlir/lib/IR/AsmPrinter.cpp
Log Message:
-----------
[mlir] Slightly optimize getRegions checks by inlining size check
Calculating the position of the region trailing objects isn't free,
given that it's the last trailing object, and inlining the size check
removes the need for users to explicitly add size checks for
micro-optimization.
Commit: 031ff673d814901a0ec27af705710abdad1b1b1a
https://github.com/llvm/llvm-project/commit/031ff673d814901a0ec27af705710abdad1b1b1a
Author: River Riddle <riddleriver at gmail.com>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
M mlir/test/IR/print-attr-type-aliases.mlir
Log Message:
-----------
[mlir] Fix alias printing for dialect attribute self types
This was donked up in the last patch that only considered
aliases for things actually getting printed.
Compare: https://github.com/llvm/llvm-project/compare/be51fa4580b3...031ff673d814
More information about the All-commits
mailing list