[all-commits] [llvm/llvm-project] 41c5a7: [DeadArgElim] Check that function type is the same

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 14 05:08:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41c5a762e5334419fdf0f488de1361afba63cbbf
      https://github.com/llvm/llvm-project/commit/41c5a762e5334419fdf0f488de1361afba63cbbf
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

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

  Log Message:
  -----------
  [DeadArgElim] Check that function type is the same

If the function types differ, the call arguments don't necessarily
correspon to the function arguments. It's likely not worthwhile to
handle this more precisely, but at least we shouldn't crash.




More information about the All-commits mailing list