[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / Verifier / memset-inline.ll
blobcdde24659552b508a451879dc1e7a010afaa2347
1 ; RUN: not opt -verify < %s 2>&1 | FileCheck %s
3 ; CHECK: alignment is not a power of two 
5 define void @foo(i8* %P, i8 %value) {
6   call void @llvm.memset.inline.p0i8.i32(i8* align 3 %P, i8 %value, i32 4, i1 false)
7   ret void
9 declare void @llvm.memset.inline.p0i8.i32(i8* nocapture, i8, i32, i1) nounwind