File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8216,8 +8216,10 @@ defm ST4 : SIMDLdSt4SingleAliases<"st4">;
8216
8216
//----------------------------------------------------------------------------
8217
8217
8218
8218
let Predicates = [HasAES] in {
8219
+ let isCommutable = 1 in {
8219
8220
def AESErr : AESTiedInst<0b0100, "aese", int_aarch64_crypto_aese>;
8220
8221
def AESDrr : AESTiedInst<0b0101, "aesd", int_aarch64_crypto_aesd>;
8222
+ }
8221
8223
def AESMCrr : AESInst< 0b0110, "aesmc", int_aarch64_crypto_aesmc>;
8222
8224
def AESIMCrr : AESInst< 0b0111, "aesimc", int_aarch64_crypto_aesimc>;
8223
8225
}
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ define <16 x i8> @aese(<16 x i8> %a, <16 x i8> %b) {
16
16
define <16 x i8 > @aese_c (<16 x i8 > %a , <16 x i8 > %b ) {
17
17
; CHECK-LABEL: aese_c:
18
18
; CHECK: // %bb.0:
19
- ; CHECK-NEXT: aese v1.16b, v0.16b
20
- ; CHECK-NEXT: mov v0.16b, v1.16b
19
+ ; CHECK-NEXT: aese v0.16b, v1.16b
21
20
; CHECK-NEXT: ret
22
21
%r = call <16 x i8 > @llvm.aarch64.crypto.aese (<16 x i8 > %b , <16 x i8 > %a )
23
22
ret <16 x i8 > %r
@@ -35,8 +34,7 @@ define <16 x i8> @aesd(<16 x i8> %a, <16 x i8> %b) {
35
34
define <16 x i8 > @aesd_c (<16 x i8 > %a , <16 x i8 > %b ) {
36
35
; CHECK-LABEL: aesd_c:
37
36
; CHECK: // %bb.0:
38
- ; CHECK-NEXT: aesd v1.16b, v0.16b
39
- ; CHECK-NEXT: mov v0.16b, v1.16b
37
+ ; CHECK-NEXT: aesd v0.16b, v1.16b
40
38
; CHECK-NEXT: ret
41
39
%r = call <16 x i8 > @llvm.aarch64.crypto.aesd (<16 x i8 > %b , <16 x i8 > %a )
42
40
ret <16 x i8 > %r
You can’t perform that action at this time.
0 commit comments