brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · b8b2c0c Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: sed 's/iXLen/i32/g' %s | llc -mtriple=riscv32 -mattr=+v \3; RUN:   -mattr=+zvfh -mattr=+experimental-zvfbfmin -mattr=+xsfmmbase \4; RUN:   -mattr=+xsfmm32a -mattr=+xsfmm32a8f -mattr=+xsfmm32a4i -mattr=+xsfmm64a64f \5; RUN:   -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK6; RUN: sed 's/iXLen/i64/g' %s | llc -mtriple=riscv64 -mattr=+v \7; RUN:   -mattr=+zvfh -mattr=+experimental-zvfbfmin -mattr=+xsfmmbase \8; RUN:   -mattr=+experimental-zvfbfmin -mattr=+xsfmmbase \9; RUN:   -mattr=+xsfmm32a -mattr=+xsfmm32a8f -mattr=+xsfmm32a4i -mattr=+xsfmm64a64f \10; RUN:   -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK11 12define iXLen @test_sf_vsettk(iXLen %tk) {13; CHECK-LABEL: test_sf_vsettk:14; CHECK:       # %bb.0: # %entry15; CHECK-NEXT:    sf.vsettnt a1, zero, e16, w216; CHECK-NEXT:    sf.vsettk a0, a017; CHECK-NEXT:    ret18  entry:19    %0 = call iXLen @llvm.riscv.sf.vsettk.iXLen(iXLen %tk, iXLen 1, iXLen 2)20    ret iXLen %021}22