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

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 02:55:50 PDT 2024


================
@@ -0,0 +1,112 @@
+; 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  %X) {
----------------
DianQK wrote:

```suggestion
define void @overwrite_middle(ptr %X) {
```
Nits. Elsewhere, too.​

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


More information about the llvm-commits mailing list