1 ; RUN: opt < %s -instcombine -S | \
2 ; RUN: not grep memmove.i32
3 ; Instcombine was trying to turn this into a memmove.i32
5 target datalayout = "e-p:64:64"
6 target triple = "alphaev67-unknown-linux-gnu"
7 @str10 = internal constant [1 x i8] zeroinitializer ; <[1 x i8]*> [#uses=1]
9 define void @do_join(i8* %b) {
11 call void @llvm.memmove.i64( i8* %b, i8* getelementptr ([1 x i8]* @str10, i32 0, i64 0), i64 1, i32 1 )
15 declare void @llvm.memmove.i64(i8*, i8*, i64, i32)