aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorxin liu <navy.xliu@gmail.com>2025-08-31 03:00:32 -0700
committerGitHub <noreply@github.com>2025-08-31 10:00:32 +0000
commit917f078adb3ffab4cf50aec3e13c977c092d7754 (patch)
tree6e55d28b2cf1cd364d6a9bac0762e47636aaf130 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent731f4d904cea958423dccb9dc427278a98615994 (diff)
downloadllvm-917f078adb3ffab4cf50aec3e13c977c092d7754.zip
llvm-917f078adb3ffab4cf50aec3e13c977c092d7754.tar.gz
llvm-917f078adb3ffab4cf50aec3e13c977c092d7754.tar.bz2
[mlir][Transforms] Allow RemoveDeadValues to process a function whose the last block is not the exit. (#156123)
'processFuncOp' queries the number of returned values of a function using the terminator of the last block's getNumOperands(). It presumes the last block is the exit. It is not always the case. This patch fixes the bug by querying from FunctionInterfaceOp directly.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions