[all-commits] [llvm/llvm-project] d04c61: [SPIR-V] Reset SPIRVGlobalRegistry at module entry...
Arseniy Obolenskiy via All-commits
all-commits at lists.llvm.org
Wed May 6 07:56:50 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d04c616c189181e58045770bc7f0c26c1f15e659
https://github.com/llvm/llvm-project/commit/d04c616c189181e58045770bc7f0c26c1f15e659
Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
M llvm/unittests/Target/SPIRV/SPIRVGlobalRegistryTests.cpp
Log Message:
-----------
[SPIR-V] Reset SPIRVGlobalRegistry at module entry (#196058)
GlobalRegistry is owned by the TartgetMaching lifetime Subtarget but
caches IR pointers, so a reused TargetMachine (e.g. in case of JIT,
libFuzzer) would carry stale entries from a prior module
The bug was caught by `llvm-isel-fuzzer` ran for
`spirv64-unknown-unknown`
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