[all-commits] [llvm/llvm-project] e80e13: [InstCombine] Add support for stpncpy folding

Martin Sebor via All-commits all-commits at lists.llvm.org
Tue Sep 27 13:44:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e80e134c77bb093370a3e4fee41ebe8710e3564d
      https://github.com/llvm/llvm-project/commit/e80e134c77bb093370a3e4fee41ebe8710e3564d
  Author: Martin Sebor <msebor at redhat.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/simplify-libcalls-i16.ll
    M llvm/test/Transforms/InstCombine/simplify-libcalls.ll
    A llvm/test/Transforms/InstCombine/stpncpy-1.ll
    M llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll
    M llvm/test/Transforms/InstCombine/strncpy-1.ll
    A llvm/test/Transforms/InstCombine/strncpy-4.ll

  Log Message:
  -----------
  [InstCombine] Add support for stpncpy folding

Reviewed By: nikic

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




More information about the All-commits mailing list