1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
3 target triple = "aarch64-unknown-linux-gnu"
11 define void @memset_call(i8* %0, i32 %1) {
12 %3 = trunc i32 %1 to i8
13 call void @llvm.memset.p0i8.i64(i8* %0, i8 %3, i64 64, i1 false)
17 declare void @llvm.memset.p0i8.i64(i8*, i8, i64, i1 immarg)