[all-commits] [llvm/llvm-project] 49b57d: DXIL: Use correct type ID when writing ValueAsMeta...
Tim Besard via All-commits
all-commits at lists.llvm.org
Wed Sep 11 05:39:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49b57df16144450331b4f90332d6918168b2a306
https://github.com/llvm/llvm-project/commit/49b57df16144450331b4f90332d6918168b2a306
Author: Tim Besard <tim.besard at gmail.com>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/test/tools/dxil-dis/metadata.ll
M llvm/tools/dxil-dis/CMakeLists.txt
Log Message:
-----------
DXIL: Use correct type ID when writing ValueAsMetadata. (#94337)
When emitting references to functions as part of `ValueAsMetadata`,
we currently emit the incorrect (typed) pointer, resulting in
crashes during deserialization. Avoid this by correctly mapping the
type during serialization.
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