From: Evandro Menezes Date: Tue, 15 Jan 2019 01:53:49 +0000 (+0000) Subject: [AArch64] Adjust the feature set for Exynos X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=548b0e2a26dcfc7173c72345092bf7a91c2ff2cd;p=llvm [AArch64] Adjust the feature set for Exynos Enable the fusion of arithmetic and logic instructions for Exynos M4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351149 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64.td b/lib/Target/AArch64/AArch64.td index c895d4f0482..8f79140cba6 100644 --- a/lib/Target/AArch64/AArch64.td +++ b/lib/Target/AArch64/AArch64.td @@ -557,6 +557,7 @@ def ProcExynosM4 : SubtargetFeature<"exynosm4", "ARMProcFamily", "ExynosM3", FeatureFP16FML, FeatureFuseAddress, FeatureFuseAES, + FeatureFuseArithmeticLogic, FeatureFuseCCSelect, FeatureFuseLiterals, FeatureLSLFast, diff --git a/test/CodeGen/AArch64/misched-fusion-arith-logic.mir b/test/CodeGen/AArch64/misched-fusion-arith-logic.mir index f844347270a..62276779d14 100644 --- a/test/CodeGen/AArch64/misched-fusion-arith-logic.mir +++ b/test/CodeGen/AArch64/misched-fusion-arith-logic.mir @@ -1,4 +1,5 @@ # RUN: llc -o /dev/null 2>&1 %s -mtriple aarch64-unknown -mattr=fuse-arith-logic -run-pass=machine-scheduler -misched-print-dags | FileCheck %s +# RUN: llc -o /dev/null 2>&1 %s -mtriple aarch64-unknown -mcpu=exynos-m4 -run-pass=machine-scheduler -misched-print-dags | FileCheck %s # REQUIRES: asserts ---