[llvm] [SPIRV] In G_SELECT selection path: replace `removeFromParent` with `eraseFromParent` and return early (PR #184807)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 08:59:29 PST 2026


jmmartinez wrote:

> LGTM, just one question: is it possible to have any test for this?

I think it's not because it's a non-functional change (from the code generation point of view).

Let me check if there is something to catch LLVM's memory leaks.

https://github.com/llvm/llvm-project/pull/184807


More information about the llvm-commits mailing list