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

joshua-arch1 via All-commits all-commits at lists.llvm.org
Thu Aug 1 05:33:26 PDT 2024


  Branch: refs/heads/users/joshua/partial-inline
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c85ba597664571a038c8c9405d656b3ebdb03f5
      https://github.com/llvm/llvm-project/commit/4c85ba597664571a038c8c9405d656b3ebdb03f5
  Author: joshua-arch1 <68843032+joshua-arch1 at users.noreply.github.com>
  Date:   2024-08-01 (Thu, 01 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