[llvm] [DSE] Apply initializes attribute to DSE (PR #107282)
Haopeng Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 22:02:37 PDT 2024
================
@@ -2170,6 +2242,16 @@ struct DSEState {
return MadeChange;
}
+ // Return the locations written by the initializes attribute.
+ // Note that this function considers:
+ // 1. Unwind edge: use "initializes" attribute only if the callee has
+ // "nounwind" attribute, or the argument has "dead_on_unwind" attribute,
+ // or the argument is invisble to caller on unwind. That is, we don't
----------------
haopliu wrote:
Done!
https://github.com/llvm/llvm-project/pull/107282
More information about the llvm-commits
mailing list