[all-commits] [llvm/llvm-project] 69969c: Use DIExpression::foldConstantMath() at the result...

Shubham Sandeep Rastogi via All-commits all-commits at lists.llvm.org
Wed May 29 16:20:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69969c725b0987a12a27a8ac787f06be672a4d09
      https://github.com/llvm/llvm-project/commit/69969c725b0987a12a27a8ac787f06be672a4d09
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/test/Bitcode/upgrade-dbg-addr.ll
    M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-expr-chain.mir
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  Use DIExpression::foldConstantMath() at the result of an append() (#71719)

This patch uses `DIExpression::foldConstantMath()` at the end of a
`DIExpression::append()`. Which should help in reducing the size of
DIExpressions that grow because of salvaging debug info

This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list