[PATCH] D135738: [InstCombine] Bail out of casting calls when a conversion to byval is involved.

Mike Hommey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 17:21:15 PDT 2022


glandium added a comment.

Would you reconsider this patch? Sure, it doesn't address the issue generally, but it does fix the cases that were actively broken by 6c8adc5 <https://reviews.llvm.org/rG6c8adc505471542be38bd71d1000062daa46d7bc>.

FWIW, https://llvm.godbolt.org/z/oPzWv9sr4 was already miscompiled with LLVM 14. As for https://llvm.godbolt.org/z/8We7dvYvT, it crashes LLVM 14.


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