[all-commits] [llvm/llvm-project] 5ef228: [SLC] Optimize strncpy(a, a, C) to memcpy(a, a000, C)

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Thu Aug 13 13:23:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ef2287d36f93bac3b7b8c49c1b371d25d305e85
      https://github.com/llvm/llvm-project/commit/5ef2287d36f93bac3b7b8c49c1b371d25d305e85
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    A llvm/test/Transforms/InstCombine/strncpy-3.ll

  Log Message:
  -----------
  [SLC] Optimize strncpy(a, a, C) to memcpy(a, a000, C)
Solves PR47154




More information about the All-commits mailing list