[all-commits] [llvm/llvm-project] ab9fc8: [SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)

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


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

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
    M llvm/test/Transforms/InstCombine/sprintf-1.ll

  Log Message:
  -----------
  [SLC] sprintf(dst, "%s", str) -> strcpy(dst, str)

Solves 46489




More information about the All-commits mailing list