[all-commits] [llvm/llvm-project] 5fc944: [DeadArgElim] Use poison instead of undef as place...

Nuno Lopes via All-commits all-commits at lists.llvm.org
Thu May 19 10:03:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fc9449c962a0703a658aa8e29162e00dc2fecf1
      https://github.com/llvm/llvm-project/commit/5fc9449c962a0703a658aa8e29162e00dc2fecf1
  Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M clang/test/CodeGen/debug-info-block-vars.c
    M clang/test/CodeGen/mips-unsigned-ext-var.c
    M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
    M llvm/test/DebugInfo/X86/dbgloc-insert-extract-val-instrs.ll
    M llvm/test/Transforms/DeadArgElim/NoundefAttrs.ll
    M llvm/test/Transforms/DeadArgElim/aggregates.ll
    M llvm/test/Transforms/DeadArgElim/byref.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
    M llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
    M llvm/test/Transforms/DeadArgElim/deadexternal.ll
    M llvm/test/Transforms/DeadArgElim/fct_ptr.ll
    M llvm/test/Transforms/DeadArgElim/opaque-ptr.ll
    M llvm/test/Transforms/DeadArgElim/variadic_safety.ll

  Log Message:
  -----------
  [DeadArgElim] Use poison instead of undef as placeholder for dead arguments

It doesn't matter which value we use for dead args, so let's switch
to poison, so we can eventually kill undef.

Reviewed By: aeubanks, fhahn

Differential Revision: https://reviews.llvm.org/D125983




More information about the All-commits mailing list