[all-commits] [llvm/llvm-project] 5978bb: [DeadArgElim] fix verifier failure when changing m...

u4f3 via All-commits all-commits at lists.llvm.org
Thu Apr 10 07:08:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5978bb2936d9a71d8e6891c640a36be760b569d3
      https://github.com/llvm/llvm-project/commit/5978bb2936d9a71d8e6891c640a36be760b569d3
  Author: u4f3 <ricoafoat at gmail.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h
    M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
    M llvm/test/Transforms/DeadArgElim/musttail-caller.ll
    A llvm/test/Transforms/DeadArgElim/musttail-verifier.ll

  Log Message:
  -----------
  [DeadArgElim] fix verifier failure when changing musttail's function signature (#127366)

This commit is for #107569 and #126817.

Stop changing musttail's caller and callee's function signature when
calling convention is not swifttailcc nor tailcc. Verifier makes sure
musttail's caller and callee shares exactly the same signature, see
commit 9ff2eb1 and #54964.

Otherwise just make sure the return type is the same and then process
musttail like usual calls.

close #107569, #126817



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