aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJames Newling <james.newling@gmail.com>2025-04-16 10:08:57 -0700
committerGitHub <noreply@github.com>2025-04-16 13:08:57 -0400
commitd88a3a36ad26e68281873fab9a35389f6eb5c919 (patch)
tree2665e9457a635751e1f6a540cd13eba8f84993bd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0daf20b3605f19271af7afa4175e7d62194e5578 (diff)
downloadllvm-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