aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-12-08 14:10:44 +0900
committerGitHub <noreply@github.com>2023-12-08 14:10:44 +0900
commitf5724847ec6d7e157f711a590e73895e0f048fc4 (patch)
tree5db5fd52d7dfac961fd1ad4924b3d7da9f6ea733 /llvm/lib/Support/GraphWriter.cpp
parent286ef12b474c16840076e0689e1886660cc9902e (diff)
downloadllvm-f5724847ec6d7e157f711a590e73895e0f048fc4.zip
llvm-f5724847ec6d7e157f711a590e73895e0f048fc4.tar.gz
llvm-f5724847ec6d7e157f711a590e73895e0f048fc4.tar.bz2
[mlir][Transforms][NFC] GreedyPatternRewriteDriver: Remove redundant worklist management code (#74796)
Do not add the previous users of replaced ops to the worklist during `notifyOperationReplaced`. The previous users are modified inplace as part of `PatternRewriter::replaceOp`, which calls `PatternRewriter::replaceAllUsesWith`. The latter function updates all users with `updateRootInPlace`, which already puts all previous users of the replaced op on the worklist. No further worklist management work is needed in the `notifyOperationReplaced` callback.
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions