[all-commits] [llvm/llvm-project] 10df98: [ArgPromotion] Handle pointer arguments of recursi...
Vedant Paranjape via All-commits
all-commits at lists.llvm.org
Thu Jul 11 22:26:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10df988e486061178034b4f41ec574f68170b887
https://github.com/llvm/llvm-project/commit/10df988e486061178034b4f41ec574f68170b887
Author: Vedant Paranjape <vedant.paranjape at amd.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
A llvm/test/Transforms/ArgumentPromotion/recursion/aggregate-promote-recursive.ll
A llvm/test/Transforms/ArgumentPromotion/recursion/argpromotion-recursion-pr1259.ll
A llvm/test/Transforms/ArgumentPromotion/recursion/recursion-arg-position-pr1259.ll
A llvm/test/Transforms/ArgumentPromotion/recursion/recursion-mixed-calls.ll
A llvm/test/Transforms/ArgumentPromotion/recursion/recursion-non-zero-offset.ll
A llvm/test/Transforms/ArgumentPromotion/recursion/recursion-same-arg-twice-pr1259.ll
Log Message:
-----------
[ArgPromotion] Handle pointer arguments of recursive calls (#78735)
Argument promotion doesn't handle recursive function calls to promote
arguments. This patch adds functionality to handle self recursive
function calls, i.e. whose SCC size is 1. Due to complexity of
ValueTracking in recursive calls with SCC size greater than 1, we bail
out in such cases.
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