brintos

brintos / llvm-project-archived public Read only

0
0
Text · 927 B · 536d5f7 Raw
27 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2 3; Check that this doesn't crash.4; CHECK: vmem5 6target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"7target triple = "hexagon"8 9define dllexport void @f0(ptr %a0, <32 x float> %a1, <32 x float> %a2) local_unnamed_addr #0 {10b0:11  %v0 = add nuw nsw i32 0, 6412  %v1 = getelementptr inbounds float, ptr %a0, i32 %v013  %v3 = add nuw nsw i32 0, 9614  %v4 = getelementptr inbounds float, ptr %a0, i32 %v315  br label %b116 17b1:                                               ; preds = %b1, %b018  br i1 undef, label %b2, label %b119 20b2:                                               ; preds = %b121  store <32 x float> %a1, ptr %v1, align 422  store <32 x float> %a2, ptr %v4, align 423  ret void24}25 26attributes #0 = { "target-features"="+hvxv69,+hvx-length128b,+hvx-qfloat" }27