Rollup merge of #143718 - scottmcm:ub-transmute-is-ub, r=WaffleLapkin

Make UB transmutes really UB in LLVM

Ralf suggested in <https://github.com/rust-lang/rust/pull/143410#discussion_r2184928123> that UB transmutes shouldn't be trapping, which happened for the one path *that* PR was changing, but there's another path as well, so *this* PR changes that other path to match.

r? codegen
This commit is contained in:
Matthias Krüger 2025-07-11 07:35:22 +02:00 committed by GitHub
commit ee0ad71148
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available