1 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-check-flags=Xn:SMR &&
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-check-flags=X:SMR
4 declare void %llvm.memcpy.i32(sbyte*, sbyte*, uint, uint)
5 declare void %llvm.memmove.i32(sbyte*, sbyte*, uint, uint)
10 %x = cast int* %X to sbyte*
11 %y = cast int* %Y to sbyte*
13 call void %llvm.memcpy.i32(sbyte* %x, sbyte* %y, uint 4, uint 4)
20 %xn = cast int* %Xn to sbyte*
21 %yn = cast int* %Yn to sbyte*
23 call void %llvm.memmove.i32(sbyte* %xn, sbyte* %yn, uint 4, uint 4)