blob: aefe2e587b64fc9bb9fd69eee8d0797259e014ad [file] [log] [blame]
Chris Lattner7f007252004-02-13 16:04:51 +00001; RUN: analyze %s -datastructure-gc -dsgc-check-flags=X:SM
2
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}