[llvm] [SandboxVectorizer][NFCI] Fix use of possibly-uninitialized scalar. (PR #122201)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 11:20:34 PST 2025


vporpo wrote:

@Sterling-Augustine shouldn't we always register the callback in the constructor, before the early return?

@tylanphear Setting it to max() may not be the correct fix, because `Ctx.unregisterEraseInstrCallback()` in the SeedCollector's constructor may not work well with it.

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


More information about the llvm-commits mailing list