[PATCH] D135738: [InstCombine] Bail out of casting calls when a conversion to byval is involved.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 12 01:40:32 PDT 2022
nikic added a reviewer: efriedma.
nikic added a comment.
Example for the case @efriedma mentions: https://llvm.godbolt.org/z/rj8Gxz3hq
I believe this bug is on the rustc side and needs to be fixed there. There is an ABI mismatch on the IR level here, and I don't think we can ask IR transforms to reason about post-legalization ABI changes. We all know that LLVM's current way of dealing with platform ABIs is problematic, but we have to deal with what we have right now, and that requires all frontends to emit the same IR signature.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135738/new/
https://reviews.llvm.org/D135738
More information about the llvm-commits
mailing list