llvm-project/llvm/test/CodeGen/Mips/2012-12-12-ExpandMemcpy.ll
Fangrui Song ae26f50aea [test] Change llc -march=mips* to -mtriple=mips*
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-10 22:14:06 -08:00

12 lines
332 B
LLVM

; RUN: llc -mtriple=mips64el -mcpu=mips64r2 < %s
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
define void @t(ptr %ptr) {
entry:
tail call void @llvm.memcpy.p0.p0.i64(ptr %ptr, ptr @.str, i64 7, i1 false)
ret void
}
declare void @llvm.memcpy.p0.p0.i64(ptr nocapture, ptr nocapture, i64, i1) nounwind