blob: 5760712fdff862913f6714eb893ec294ba7ab178 [file] [log] [blame]
Chris Lattnerc201a7a2004-02-13 16:09:37 +00001; RUN: analyze %s -datastructure-gc -dsgc-check-flags=X:SMR
Chris Lattner7f007252004-02-13 16:04:51 +00002
3declare void %llvm.memcpy(sbyte*, sbyte*, uint, uint)
4
5void %test() {
6 %X = alloca int
7 %Y = alloca int
8 %x = cast int* %X to sbyte*
9 %y = cast int* %Y to sbyte*
10 store int 4, int* %X
11 call void %llvm.memcpy(sbyte* %x, sbyte* %y, uint 4, uint 4)
12 ret void
13}