[all-commits] [llvm/llvm-project] 78266a: [ArgPromotion] Remove redundant logic from recursi...

Vedant Paranjape via All-commits all-commits at lists.llvm.org
Sat Jul 13 21:23:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78266ab0dc64dbc208035acc455f1b8ef22af387
      https://github.com/llvm/llvm-project/commit/78266ab0dc64dbc208035acc455f1b8ef22af387
  Author: Vedant Paranjape <vedant.paranjape at amd.com>
  Date:   2024-07-14 (Sun, 14 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    A llvm/test/Transforms/ArgumentPromotion/recursion/recursion-diff-call-types.ll

  Log Message:
  -----------
  [ArgPromotion] Remove redundant logic from recursive argpromotion code (#98657)

This patch further cleans up the implementation by removing some
redundant checks and replacing cast<> with get() calls.

This contribution is based on the discussion in #78735



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