From ed44540ada3f55635decb4d51e32ae08169177d8 Mon Sep 17 00:00:00 2001 From: Evandro Menezes Date: Tue, 15 Jan 2019 01:53:49 +0000 Subject: [PATCH] [AArch64] Adjust the feature set for Exynos Enable the fusion of arithmetic and logic instructions for Exynos M4. llvm-svn: 351149 --- lib/Target/AArch64/AArch64.td | 1 + test/CodeGen/AArch64/misched-fusion-arith-logic.mir | 1 + 2 files changed, 2 insertions(+) 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 ---