[llvm] [SPIR-V] Fix dangling MachineFunction pointers in finalizeLowering (PR #196050)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 04:51:46 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173799 tests passed
* 3298 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM-Unit
<details>
<summary>LLVM-Unit.Target/SPIRV/_/SPIRVTests/SPIRVGlobalRegistryTest/PrepareFunctionsClearsStalePointers</summary>
```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/Target/SPIRV/./SPIRVTests --gtest_filter=SPIRVGlobalRegistryTest.PrepareFunctionsClearsStalePointers
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/Target/SPIRV/SPIRVGlobalRegistryTests.cpp:102
Expected equality of these values:
GR->findDeducedElementType(F)
Which is: 0x2fa406f0
nullptr
Which is: (nullptr)
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/196050
More information about the llvm-commits
mailing list