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


nikic added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/cast-to-byval.ll:2
+; Check that function calls involving conversion to byval aren't transformed.
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
----------------
glandium wrote:
> nikic wrote:
> > Use update_test_checks.py.
> Interestingly, the CHECKs it produces fail...
At a guess, you need to reorder the foo and bar functions or pass `--function-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