[all-commits] [llvm/llvm-project] 65fd05: [MLIR] Added check for IsTerminator trait (#79317)
Dmitriy Smirnov via All-commits
all-commits at lists.llvm.org
Fri Jan 26 05:15:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65fd05517fe19bb436432ca45c03b7e576a328b5
https://github.com/llvm/llvm-project/commit/65fd05517fe19bb436432ca45c03b7e576a328b5
Author: Dmitriy Smirnov <dmitriy.smirnov at arm.com>
Date: 2024-01-26 (Fri, 26 Jan 2024)
Changed paths:
M mlir/lib/Transforms/RemoveDeadValues.cpp
M mlir/test/Transforms/remove-dead-values.mlir
Log Message:
-----------
[MLIR] Added check for IsTerminator trait (#79317)
This PR adds a check for IsTerminator trait to prevent deletion of ops
like gpu.terminator as a "simple op" by RemoveDeadValues pass.
More information about the All-commits
mailing list