[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/2004-02-13-memcpy.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 13 10:06:02 PST 2004
Changes in directory llvm/test/Regression/Analysis/DSGraph:
2004-02-13-memcpy.ll added (r1.1)
---
Log message:
New testcase for support for memcpy/memmove
---
Diffs of the changes: (+13 -0)
Index: llvm/test/Regression/Analysis/DSGraph/2004-02-13-memcpy.ll
diff -c /dev/null llvm/test/Regression/Analysis/DSGraph/2004-02-13-memcpy.ll:1.1
*** /dev/null Fri Feb 13 10:05:01 2004
--- llvm/test/Regression/Analysis/DSGraph/2004-02-13-memcpy.ll Fri Feb 13 10:04:51 2004
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: analyze %s -datastructure-gc -dsgc-check-flags=X:SM
+
+ declare void %llvm.memcpy(sbyte*, sbyte*, uint, uint)
+
+ void %test() {
+ %X = alloca int
+ %Y = alloca int
+ %x = cast int* %X to sbyte*
+ %y = cast int* %Y to sbyte*
+ store int 4, int* %X
+ call void %llvm.memcpy(sbyte* %x, sbyte* %y, uint 4, uint 4)
+ ret void
+ }
More information about the llvm-commits
mailing list