[all-commits] [llvm/llvm-project] e08e5e: [mlir][transforms] Use `isExternal` instead of `is...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Tue Dec 3 19:14:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e08e5e2c426467342dbe79fbf3ea9723c17a07d1
https://github.com/llvm/llvm-project/commit/e08e5e2c426467342dbe79fbf3ea9723c17a07d1
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
M mlir/lib/Transforms/RemoveDeadValues.cpp
M mlir/test/Transforms/remove-dead-values.mlir
Log Message:
-----------
[mlir][transforms] Use `isExternal` instead of `isDeclaration` for `FunctionOpInterface` (#116573)
This PR fixes a bug in `RemoveDeadValues` where the
`FunctionOpInterface` does not have the `isDeclaration` method. As a
result, we should use the `isExternal` method instead. Fixes #116347.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list