1; RUN: not llvm-as %s -o /dev/null |& grep {alignment argument of memory intrinsics must be a constant int} 2; PR2318 3 4define void @x(i8* %a, i8* %src, i64 %len, i32 %align) nounwind { 5entry: 6 tail call void @llvm.memcpy.i64( i8* %a, i8* %src, i64 %len, i32 %align) nounwind 7 ret void 8} 9 10declare void @llvm.memcpy.i64( i8* %a, i8* %src, i64 %len, i32) 11 12