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