[all-commits] [llvm/llvm-project] c7aacb: [ArgPromotion] Update allocsize indices after prom...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Sep 18 07:15:48 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7aacbb5b6f272e3bf574120805f9ffb90633eb6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    A llvm/test/Transforms/ArgumentPromotion/allocsize.ll

  Log Message:
  [ArgPromotion] Update allocsize indices after promotion

Promotion can add/remove arguments. We need to update the
indices in the allocsize attribute accordingly.

Fixes https://github.com/llvm/llvm-project/issues/66103.

More information about the All-commits mailing list