[PATCH] D33836: [AArch64] Enable FeatureFuseAES for the generic processor model.
    Evandro Menezes via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 13 08:17:51 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
----------------
evandro wrote:
> It should really be CHECKGENERIC.  CHECKFUSEAES would make more sense if you add a test with `-mattr=fuse-aes`.  
Methinks that there should also be a test solely with `-mattr=fuse-aes` and no `-mcpu=...`.
https://reviews.llvm.org/D33836
    
    
More information about the llvm-commits
mailing list