[PATCH] D33836: [AArch64] Enable FeatureFuseAES for the generic processor model.
Evandro Menezes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 5 08:48:29 PDT 2017
evandro added inline comments.
================
Comment at: test/CodeGen/AArch64/misched-fusion-aes.ll:1
-; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a53 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKCORTEX
-; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a57 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKCORTEX
-; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a72 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKCORTEX
-; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a73 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKCORTEX
+; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=generic -mattr=+crypto | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKFUSEAES
+; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a53 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKFUSEAES
----------------
It should really be CHECKGENERIC. CHECKFUSEAES would make more sense if you add a test with `-mattr=fuse-aes`.
================
Comment at: test/CodeGen/AArch64/misched-fusion-aes.ll:2
+; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=generic -mattr=+crypto | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKFUSEAES
+; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a53 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKFUSEAES
+; RUN: llc %s -o - -mtriple=aarch64-unknown -mcpu=cortex-a57 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECKFUSEAES
----------------
I don't think that you should change CHECKCORTEX.
https://reviews.llvm.org/D33836
More information about the llvm-commits
mailing list