[llvm] [DSE] Split memory intrinsics if they are dead in the middle (PR #75478)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 18:54:35 PDT 2024


================
@@ -0,0 +1,94 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+
+; RUN: opt < %s -passes=dse -S | FileCheck %s
+
+define void @overwrite_middle(ptr nocapture noundef writeonly %X) {
----------------
DianQK wrote:

Do you need `nocapture noundef writeonly`?

https://github.com/llvm/llvm-project/pull/75478


More information about the llvm-commits mailing list