[all-commits] [llvm/llvm-project] 92ef54: [IPSCCP] Remove noundef when zapping return values

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 21 05:38:46 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92ef545b8da2af5ae2e2894d1efd61a49d4b20f9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/SCCP.cpp
    M llvm/test/Transforms/SCCP/ipsccp-noundef.ll

  Log Message:
  [IPSCCP] Remove noundef when zapping return values

When replacing return values with undef, we should also drop the
noundef attribute (and other UB implying attributes).

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

More information about the All-commits mailing list