[llvm] [Inline] Allow inlining with null_pointer_is_valid mismatch (PR #190510)
Ralf Jung via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 00:14:16 PDT 2026
RalfJung wrote:
> I don't think rustc provides at the moment a way to set null_pointer_is_valid like -fno-delete-null-pointer-checks.
Correct. We generally don't have flags that fork the language by removing UB. We'd end up with two slightly difference dialects of Rust at penalty of UB if people mix up which dialect they use for their binary -- not a great situation IMO.
https://github.com/llvm/llvm-project/pull/190510
More information about the llvm-commits
mailing list