[all-commits] [llvm/llvm-project] 8879ff: Support unnamed functions in MIR parser (#183018)
Fuad Ismail via All-commits
all-commits at lists.llvm.org
Tue Mar 3 02:10:33 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8879ff136c73c201d48d5334a0729d7817a7c643
https://github.com/llvm/llvm-project/commit/8879ff136c73c201d48d5334a0729d7817a7c643
Author: Fuad Ismail <fuad1502 at gmail.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
A llvm/test/CodeGen/MIR/Generic/machine-function-empty-name-no-ir-section.mir
A llvm/test/CodeGen/MIR/Generic/machine-function-empty-name-no-matching-ir.mir
A llvm/test/CodeGen/MIR/Generic/machine-function-empty-name.mir
Log Message:
-----------
Support unnamed functions in MIR parser (#183018)
In this PR, unnamed machine functions in an MIR file are associated with
anonymous functions in the embedded LLVM IR according to the order in
which they are specified. If there are more unnamed machine functions
then there are LLVM IR functions, the parsing will fail by reporting the
original error message of `function ‘’ isn’t defined in the provided
LLVM IR`.
Closes #36511
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