[all-commits] [llvm/llvm-project] d8e0a6: [LowerConstantIntrinsics] Support phi operand in _...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Mar 21 03:31:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8e0a6d5e9dd2311641f9a8a5d2bf90829951ddc
      https://github.com/llvm/llvm-project/commit/d8e0a6d5e9dd2311641f9a8a5d2bf90829951ddc
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryBuiltins.h
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    A llvm/test/Transforms/LowerConstantIntrinsics/builtin-object-size-phi.ll

  Log Message:
  -----------
  [LowerConstantIntrinsics] Support phi operand in __builtin_object_size folder

The implementation is just a generalization of the Select handler.
We're no trying to be smart and compute any kind of fixed point.

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


  Commit: 39b02d49cc5ed89a4eaf766d03411d53c6579c47
      https://github.com/llvm/llvm-project/commit/39b02d49cc5ed89a4eaf766d03411d53c6579c47
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    A llvm/test/Transforms/InstCombine/builtin-object-size-strdup-family.ll

  Log Message:
  -----------
  [instcombine] Support and test __builtin_object_size interaction with __strdup and __strndup

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


Compare: https://github.com/llvm/llvm-project/compare/0ebac76e6ebe...39b02d49cc5e


More information about the All-commits mailing list