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