21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=hexagon < %s | FileCheck %s3 4; This will crash with "cannot select" error, if the intrinsic matching code5; (HexagonDepMapAsm2Intrin.td) uses predicate "HasV69" instead of "UseHVXV69".6define <32 x i32> @f0(<64 x i32> %a0, <32 x i32> %a1) #0 {7; CHECK-LABEL: f0:8; CHECK: // %bb.0:9; CHECK-NEXT: {10; CHECK-NEXT: v0.ub = vasr(v1:0.uh,v2.ub):rnd:sat11; CHECK-NEXT: jumpr r3112; CHECK-NEXT: }13 %v0 = call <32 x i32> @llvm.hexagon.V6.vasrvuhubrndsat.128B(<64 x i32> %a0, <32 x i32> %a1)14 ret <32 x i32> %v015}16 17declare <32 x i32> @llvm.hexagon.V6.vasrvuhubrndsat.128B(<64 x i32>, <32 x i32>)18 19attributes #0 = { nounwind readnone "target-features"="+hvxv69,+hvx-length128b" }20 21