[all-commits] [llvm/llvm-project] 717e75: [win][arm64ec] Handle empty function names (#151609)
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Mon Aug 4 16:21:37 PDT 2025
Branch: refs/heads/users/rampitec/08-04-_amdgpu_add_fixed_size_to_wmma_instructions_with_scale
Home: https://github.com/llvm/llvm-project
Commit: 717e753d1ef6d371d09f957f23df5c7a0e05a197
https://github.com/llvm/llvm-project/commit/717e753d1ef6d371d09f957f23df5c7a0e05a197
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M llvm/lib/IR/Mangler.cpp
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
A llvm/test/CodeGen/AArch64/arm64ec-empty-name.ll
Log Message:
-----------
[win][arm64ec] Handle empty function names (#151609)
While testing Arm64EC, I observed that LLVM crashes when an empty
function name is used. My original fix in #151409 was to raise an error,
but this change now handles the empty name via
`Mangler::getNameWithPrefix` (which assigns a name to the function).
To get this working, I had to create the `Mangler` in
`TargetLoweringObjectFile` early so it would be available to Arm64EC's
lowering. There's no reason why `Mangler` is only created when
`Initialize` is called (or re-created if it exists), and so I moved
creation to the constructor and switched the raw pointer for a
`unique_ptr` to avoid the explicit `delete` in the destructor.
Commit: 038bab04ab7d329adab7b7960d4d16b0cbc03e67
https://github.com/llvm/llvm-project/commit/038bab04ab7d329adab7b7960d4d16b0cbc03e67
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M llvm/lib/IR/Mangler.cpp
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
A llvm/test/CodeGen/AArch64/arm64ec-empty-name.ll
Log Message:
-----------
Merge branch 'main' into users/rampitec/08-04-_amdgpu_add_fixed_size_to_wmma_instructions_with_scale
Compare: https://github.com/llvm/llvm-project/compare/898d2605925e...038bab04ab7d
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