[all-commits] [llvm/llvm-project] 23a22d: [SROA] Unify the names of new instructions created...
Shubham Sandeep Rastogi via All-commits
all-commits at lists.llvm.org
Tue Dec 2 10:12:42 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23a22d0497eae08fa1ba7a0ecb2570eb07f5cfc8
https://github.com/llvm/llvm-project/commit/23a22d0497eae08fa1ba7a0ecb2570eb07f5cfc8
Author: Shubham Sandeep Rastogi <Shubham.Rastogi at sony.com>
Date: 2025-12-02 (Tue, 02 Dec 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
Log Message:
-----------
[SROA] Unify the names of new instructions created in SROA. (#167917)
In Debug builds, the names of adjusted pointers have a pointer-specific
name prefix which doesn't exist in non-debug builds.
This causes differences in output when looking at the output of SROA
with a Debug or Release compiler.
For most of our ongoing testing, we use essentially Release+Asserts
build (basically release but without NDEBUG defined), however we ship a
Release compiler. Therefore we want to say with reasonable confidence
that building a large project with Release vs a Release+Asserts build
gives us the same output when the same compiler version is used.
This difference however, makes it difficult to prove that the output is
the same if the only difference is the name when using LTO builds and
looking at bitcode.
Hence this change is being proposed.
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