34 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+sve-sm4 < %s | FileCheck %s3 4;5; SM4E6;7 8define <vscale x 4 x i32> @sm4e_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {9; CHECK-LABEL: sm4e_i32:10; CHECK: // %bb.0:11; CHECK-NEXT: sm4e z0.s, z0.s, z1.s12; CHECK-NEXT: ret13 %out = call <vscale x 4 x i32> @llvm.aarch64.sve.sm4e(<vscale x 4 x i32> %a,14 <vscale x 4 x i32> %b)15 ret <vscale x 4 x i32> %out16}17 18;19; SM4EKEY20;21 22define <vscale x 4 x i32> @sm4ekey_i32(<vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {23; CHECK-LABEL: sm4ekey_i32:24; CHECK: // %bb.0:25; CHECK-NEXT: sm4ekey z0.s, z0.s, z1.s26; CHECK-NEXT: ret27 %out = call <vscale x 4 x i32> @llvm.aarch64.sve.sm4ekey(<vscale x 4 x i32> %a,28 <vscale x 4 x i32> %b)29 ret <vscale x 4 x i32> %out30}31 32declare <vscale x 4 x i32> @llvm.aarch64.sve.sm4e(<vscale x 4 x i32>, <vscale x 4 x i32>)33declare <vscale x 4 x i32> @llvm.aarch64.sve.sm4ekey(<vscale x 4 x i32>, <vscale x 4 x i32>)34