[llvm] [InstCombine] Emit fatal error on void to non-void conversion (PR #96574)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 13:45:10 PDT 2024


https://github.com/nikic requested changes to this pull request.

We can never error for undefined behavior, because it might occur in dynamically dead code. This is also why the IR verifier does not check this.

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


More information about the llvm-commits mailing list