brintos

brintos / llvm-project-archived public Read only

0
0
Text · 597 B · 57d3672 Raw
25 lines · plain
1; RUN: llc -verify-machineinstrs < %s | FileCheck %s2target datalayout = "e-m:e-i64:64-n32:64"3target triple = "powerpc64le"4 5; Function Attrs: nounwind6define void @test_vsx() unnamed_addr #0 align 2 {7entry:8  %0 = load i32, ptr undef, align 49  %1 = trunc i32 %0 to i810  call void @llvm.memset.p0.i64(ptr null, i8 %1, i64 32, i1 false)11  ret void12 13; CHECK-LABEL: @test_vsx14; CHECK: stxvd2x15; CHECK: stxvd2x16; CHECK: blr17}18 19; Function Attrs: nounwind20declare void @llvm.memset.p0.i64(ptr nocapture, i8, i64, i1) #121 22attributes #0 = { nounwind "target-cpu"="pwr8" }23attributes #1 = { nounwind }24 25