[all-commits] [llvm/llvm-project] 74c396: [DSE] Remove `uninitialized` from `allockind` when...
clubby789 via All-commits
all-commits at lists.llvm.org
Fri Jul 18 00:30:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74c396afb26dec74c0b799e218c63f1a26e90d21
https://github.com/llvm/llvm-project/commit/74c396afb26dec74c0b799e218c63f1a26e90d21
Author: clubby789 <jamie at hill-daniel.co.uk>
Date: 2025-07-18 (Fri, 18 Jul 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/zeroed-missing.ll
Log Message:
-----------
[DSE] Remove `uninitialized` from `allockind` when creating dummy zeroed variant function (#149336)
cc https://github.com/llvm/llvm-project/pull/138299
rustc sets `allockind("uninitialized")` - if we copy the attributes
as-is when creating a dummy function, Verify complains about
`allockind("uninitialized,zeroed")` conflicting, so we need to clear the
flag.
Co-authored-by: Jamie Hill-Daniel <jamie at osec.io>
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