[all-commits] [llvm/llvm-project] e578b3: [InstSimplify] Fold all global variables with init...

Anshil Gandhi via All-commits all-commits at lists.llvm.org
Mon Jul 3 14:12:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e578b3be24fc3986f46942aa1fdbf73ff8d34ace
      https://github.com/llvm/llvm-project/commit/e578b3be24fc3986f46942aa1fdbf73ff8d34ace
  Author: Anshil Gandhi <gandhi21299 at gmail.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    A llvm/test/Transforms/InstSimplify/gv-alloca-cmp.ll
    M llvm/test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll

  Log Message:
  -----------
  [InstSimplify] Fold all global variables with initializers

Allow computing size of interposable or externally initializable global variables.

Reviewed By: nikic

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




More information about the All-commits mailing list