diff options
author | James Newling <james.newling@gmail.com> | 2025-04-16 10:08:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-16 13:08:57 -0400 |
commit | d88a3a36ad26e68281873fab9a35389f6eb5c919 (patch) | |
tree | 2665e9457a635751e1f6a540cd13eba8f84993bd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 0daf20b3605f19271af7afa4175e7d62194e5578 (diff) | |
download | llvm-d88a3a36ad26e68281873fab9a35389f6eb5c919.zip llvm-d88a3a36ad26e68281873fab9a35389f6eb5c919.tar.gz llvm-d88a3a36ad26e68281873fab9a35389f6eb5c919.tar.bz2 |
[mlir][vector] Remove redundant shape_cast(shape_cast(x)) pattern (#135447)
This PR removes one OpRewritePattern `shape_cast(shape_cast(x)) -> x`
that is already handled by `ShapeCastOp::fold`.
Note that this might affect downstream users who indirectly call
`populateShapeCastFoldingPatterns(RewritePatternSet &patterns,
PatternBenefit)` and then use `patterns` with a `GreedyRewriteConfig
config` that has `config.fold = false`. (only user I've checked is IREE,
that never uses config.fold = false).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions