aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <git@ozinenko.com>2025-04-18 16:05:54 +0200
committerGitHub <noreply@github.com>2025-04-18 16:05:54 +0200
commit20a104a7d6423784dab04371a5ca728cc27a15a9 (patch)
tree48ed3681b56e3a6fe0a45b3693e0f3111c628a1d /llvm/lib/CodeGen/MachineScheduler.cpp
parent35e6ca47c1b565b59a9e9f90b5239804e64819f7 (diff)
downloadllvm-20a104a7d6423784dab04371a5ca728cc27a15a9.zip
llvm-20a104a7d6423784dab04371a5ca728cc27a15a9.tar.gz
llvm-20a104a7d6423784dab04371a5ca728cc27a15a9.tar.bz2
[mlir] allow function type cloning to fail (#136300)
`FunctionOpInterface` assumed the fact that the function type (attribute of the operation) can be cloned with arbirary lists of function arguments and results to support argument and result list mutation. This is not always correct, in particular, LLVM dialect functions require exactly one result making it impossible to erase the result. Allow function type cloning to fail and propagate this failure through various APIs that use it. The common assumption is that existing IR has not been modified. Fixes #131142.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions