[llvm] [LV][NFC] Remove unneeded LLVM intrinsic declarations (PR #190993)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 11:04:17 PDT 2026


================
@@ -42,12 +42,9 @@ for.body6:                                        ; preds = %for.body6, %for.con
   br i1 %exitcond, label %for.cond.cleanup5, label %for.body6
 }
 
-declare void @llvm.lifetime.start(ptr nocapture) #1
-declare void @llvm.lifetime.end(ptr nocapture) #1
 
 declare signext i32 @bar(ptr, ptr) #2
 
 attributes #0 = { "target-features"="-altivec,-bpermd,-crypto,-direct-move,-extdiv,-power8-vector,-vsx" }
-attributes #1 = { argmemonly }
 attributes #2 = { "target-features"="-altivec,-bpermd,-crypto,-direct-move,-extdiv,-power8-vector,-vsx" }
----------------
fhahn wrote:

```suggestion
```

can we remove it now as well, together with removing it from `@bar`?

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


More information about the llvm-commits mailing list