1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv64 -mattr=+zksh -verify-machineinstrs < %s \
3 ; RUN: | FileCheck %s -check-prefix=RV64ZKSH
5 declare i64 @llvm.riscv.sm3p0.i64(i64);
7 define i64 @sm3p0_i64(i64 %a) nounwind {
8 ; RV64ZKSH-LABEL: sm3p0_i64:
10 ; RV64ZKSH-NEXT: sm3p0 a0, a0
12 %val = call i64 @llvm.riscv.sm3p0.i64(i64 %a)
16 declare i64 @llvm.riscv.sm3p1.i64(i64);
18 define i64 @sm3p1_i64(i64 %a) nounwind {
19 ; RV64ZKSH-LABEL: sm3p1_i64:
21 ; RV64ZKSH-NEXT: sm3p1 a0, a0
23 %val = call i64 @llvm.riscv.sm3p1.i64(i64 %a)