1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv64 -mattr=+zknd -verify-machineinstrs < %s \
3 ; RUN: | FileCheck %s -check-prefix=RV64ZKND
5 declare i64 @llvm.riscv.aes64ds(i64, i64);
7 define i64 @aes64ds(i64 %a, i64 %b) nounwind {
8 ; RV64ZKND-LABEL: aes64ds:
10 ; RV64ZKND-NEXT: aes64ds a0, a0, a1
12 %val = call i64 @llvm.riscv.aes64ds(i64 %a, i64 %b)
16 declare i64 @llvm.riscv.aes64dsm(i64, i64);
18 define i64 @aes64dsm(i64 %a, i64 %b) nounwind {
19 ; RV64ZKND-LABEL: aes64dsm:
21 ; RV64ZKND-NEXT: aes64dsm a0, a0, a1
23 %val = call i64 @llvm.riscv.aes64dsm(i64 %a, i64 %b)
27 declare i64 @llvm.riscv.aes64im(i64);
29 define i64 @aes64im(i64 %a) nounwind {
30 ; RV64ZKND-LABEL: aes64im:
32 ; RV64ZKND-NEXT: aes64im a0, a0
34 %val = call i64 @llvm.riscv.aes64im(i64 %a)