33 lines · plain
1; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -verify-machineinstrs -o - %s | FileCheck %s2 3declare void @llvm.memmove.p0.p0.i32(ptr nocapture, ptr nocapture, i32, i1) nounwind4declare void @llvm.memcpy.p0.p0.i32(ptr nocapture, ptr nocapture, i32, i1) nounwind5 6@source = common global [512 x i8] zeroinitializer, align 47@target = common global [512 x i8] zeroinitializer, align 48 9define void @move() nounwind {10entry:11 call void @llvm.memmove.p0.p0.i32(ptr @target, ptr @source, i32 512, i1 false)12 unreachable13}14 15; CHECK-NOT: __aeabi_memmove16 17define void @copy() nounwind {18entry:19 call void @llvm.memcpy.p0.p0.i32(ptr @target, ptr @source, i32 512, i1 false)20 unreachable21}22 23; CHECK-NOT: __aeabi_memcpy24 25define i32 @divide(i32 %i, i32 %j) nounwind {26entry:27 %quotient = sdiv i32 %i, %j28 ret i32 %quotient29}30 31; CHECK-NOT: __aeabi_idiv32 33