[all-commits] [llvm/llvm-project] a2f74c: [Inliner] Fix bugs for partial inlining with vector

joshua-arch1 via All-commits all-commits at lists.llvm.org
Thu Aug 1 19:21:32 PDT 2024


  Branch: refs/heads/users/joshua/partial-inline
  Home:   https://github.com/llvm/llvm-project
  Commit: a2f74c24c4a513b55f0aaac795d8d1c690b18f51
      https://github.com/llvm/llvm-project/commit/a2f74c24c4a513b55f0aaac795d8d1c690b18f51
  Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/PartialInlining.cpp

  Log Message:
  -----------
  [Inliner] Fix bugs for partial inlining with vector

In the cost model of partial inlining, cost for intrinsics
will be applied. However, some intrinsics for vector have
invalid cost, which is not allowed for partial inlining.
Instead of assertion, we directly do not do partial
inlining in this circumstance to avoid compiling errors.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list