brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 66fa48e Raw
30 lines · plain
1; RUN: llc -verify-machineinstrs < %s | FileCheck %s2; This guarantees that we add the default set of features to the current feature3; string. We won't successfully legalize the types here without +64bit being4; silently added.5target datalayout = "E-m:e-i64:64-n32:64"6target triple = "powerpc64-unknown-linux-gnu"7 8%struct.fab = type { float, float }9 10; Function Attrs: nounwind11define void @func_fab(ptr noalias sret(%struct.fab) %agg.result, i64 %x.coerce) #0 {12entry:13  %x = alloca %struct.fab, align 814  store i64 %x.coerce, ptr %x, align 115  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %agg.result, ptr align 4 %x, i64 8, i1 false)16  ret void17}18 19; CHECK: func_fab20 21; Function Attrs: nounwind22declare void @llvm.memcpy.p0.p0.i64(ptr nocapture, ptr nocapture readonly, i64, i1) #123 24attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "target-features"="" "use-soft-float"="false" }25attributes #1 = { nounwind }26 27!llvm.ident = !{!0}28 29!0 = !{!"clang version 3.7.0 (trunk 233227) (llvm/trunk 233226)"}30