ARM cost model: Address computation in vector mem ops not free
[oota-llvm.git] / test / Verifier / 2008-08-22-MemCpyAlignment.ll
1 ; RUN: not llvm-as %s -o /dev/null 2>&1 | 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.p0i8.p0i8.i64( i8* %a, i8* %src, i64 %len, i32 %align, i1 false) nounwind 
7         ret void
8 }
9
10 declare void @llvm.memcpy.p0i8.p0i8.i64( i8* %a, i8* %src, i64 %len, i32, i1)
11