[llvm] [llubi] Implement memory manipulation intrinsics (PR #204932)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 20 08:05:05 PDT 2026


================
@@ -0,0 +1,57 @@
+; RUN: sed 's/OP/memcpy_overlap/g' %s | not llubi --verbose 2>&1 | FileCheck %s --check-prefix=OVERLAP
+; RUN: sed 's/OP/memcpy_inline_poison_src/g' %s | not llubi --verbose 2>&1 | FileCheck %s --check-prefix=COPY-SRC
+; RUN: sed 's/OP/memset_poison_dst/g' %s | not llubi --verbose 2>&1 | FileCheck %s --check-prefix=SET-DST
+; RUN: sed 's/OP/memset_poison_len/g' %s | not llubi --verbose 2>&1 | FileCheck %s --check-prefix=SET-LEN
+
+declare void @llvm.memcpy.p0.p0.i8(ptr, ptr, i8, i1)
----------------
dtcxzyw wrote:

Intrinsic declarations can be omitted.

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


More information about the llvm-commits mailing list