[all-commits] [llvm/llvm-project] e810d5: [ValueTracking] Make getStringLenth aware of strdup

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Apr 12 05:48:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e810d558093cff40caaa1aff24d289c76c59916d
      https://github.com/llvm/llvm-project/commit/e810d558093cff40caaa1aff24d289c76c59916d
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/strlen-1.ll

  Log Message:
  -----------
  [ValueTracking] Make getStringLenth aware of strdup

During strlen compile-time evaluation, make it possible to track size of
strduped strings.

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




More information about the All-commits mailing list