[all-commits] [llvm/llvm-project] 3ec44c: [DeadArgElim] Guard against function type mismatch

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Mar 14 05:04:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ec44c22b1d60cf63ab93a4a9097d8c2a0ad08aa
      https://github.com/llvm/llvm-project/commit/3ec44c22b1d60cf63ab93a4a9097d8c2a0ad08aa
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
    M llvm/test/Transforms/DeadArgElim/opaque-ptr.ll

  Log Message:
  -----------
  [DeadArgElim] Guard against function type mismatch

If the call function type and function type don't match, we should
consider the function live (there is effectively a bitcast
sitting in between).




More information about the All-commits mailing list