aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/TargetProcess/LibraryScanner.cpp
diff options
context:
space:
mode:
authorIgor Wodiany <igor.wodiany@imgtec.com>2025-10-27 09:28:50 +0000
committerGitHub <noreply@github.com>2025-10-27 09:28:50 +0000
commit046ed90d3f5189357bcce4cff43ad7739ae72b07 (patch)
treed301c886d43ae0ef5c8c16a5ace669f87e41a7aa /llvm/lib/ExecutionEngine/Orc/TargetProcess/LibraryScanner.cpp
parent9af49ee4747e0871f196a643a4e4a362f0e80e43 (diff)
downloadllvm-046ed90d3f5189357bcce4cff43ad7739ae72b07.zip
llvm-046ed90d3f5189357bcce4cff43ad7739ae72b07.tar.gz
llvm-046ed90d3f5189357bcce4cff43ad7739ae72b07.tar.bz2
[mlir][spirv] Ensure function declarations precede definitions (#164956)
SPIR-V spec requires that any calls to external functions are preceded by declarations of those external functions. To simplify the implementation, we sort functions in the serializer using a stronger condition: any functions declarations are moved before any functions definitions - this ensures that external functions are always declared before being used.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/TargetProcess/LibraryScanner.cpp')
0 files changed, 0 insertions, 0 deletions