23 lines · plain
1; RUN: llc < %s | FileCheck %s2target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"3target triple = "msp430---elf"4 5@buf = external global ptr6 7; Function Attrs: nounwind8define void @test() nounwind {9entry:10; CHECK-LABEL: test:11 %0 = load ptr, ptr @buf, align 212; CHECK: mov &buf, r1213; CHECK-NEXT: mov #5, r1314; CHECK-NEXT: mov #128, r1415; CHECK-NEXT: call #memset16 call void @llvm.memset.p0.i16(ptr %0, i8 5, i16 128, i1 false)17 ret void18}19 20; Function Attrs: nounwind21declare void @llvm.memset.p0.i16(ptr nocapture, i8, i16, i1) nounwind22 23