Generalize m_ContantIndexOp by using the m_Constant matcher and checking the operation for an index type.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Unit tests: pass. 61914 tests passed, 0 failed and 783 were skipped.
clang-tidy: unknown.
clang-format: pass.
Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
mlir/include/mlir/IR/Matchers.h | ||
---|---|---|
88 | Please add explicit to avoid spurious implicit conversions |
mlir/include/mlir/IR/Matchers.h | ||
---|---|---|
83 | This is a lot of duplication for what should be one or two lines of code. |
This is a lot of duplication for what should be one or two lines of code.