[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
Tue Oct 11 20:14:42 PDT 2022


glandium added inline comments.


================
Comment at: llvm/test/LTO/X86/cast-to-byval.ll:3
+; inlined.
+
+; RUN: split-file %s %t
----------------
glandium wrote:
> arsenm wrote:
> > Why does this test involve LTO or multiple modules? Why can't you just run instcombine?
> Because I have no idea how to reproduce without LTO. I failed with a bitcast of the function.
Scrap that, just calling without a bitcast works.


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