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