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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 03:00:06 PDT 2024


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

Still rejected for previously explained reason. We fundamentally cannot do this.

You can use something like `-fsanitize=cfi` to detect this at runtime.

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


More information about the llvm-commits mailing list