diff options
author | Longsheng Mou <longshengmou@gmail.com> | 2024-12-04 11:14:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 11:14:37 +0800 |
commit | e08e5e2c426467342dbe79fbf3ea9723c17a07d1 (patch) | |
tree | 8a1045a4fe45180d26c845f2e601d8b20da4a494 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 3dc97557d1ac0cd7924b9679efbfc8f916f5365e (diff) | |
download | llvm-e08e5e2c426467342dbe79fbf3ea9723c17a07d1.zip llvm-e08e5e2c426467342dbe79fbf3ea9723c17a07d1.tar.gz llvm-e08e5e2c426467342dbe79fbf3ea9723c17a07d1.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions