]> granicus.if.org Git - llvm/commitdiff
[AArch64] Adjust the feature set for Exynos
authorEvandro Menezes <e.menezes@samsung.com>
Tue, 15 Jan 2019 01:53:49 +0000 (01:53 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Tue, 15 Jan 2019 01:53:49 +0000 (01:53 +0000)
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

lib/Target/AArch64/AArch64.td
test/CodeGen/AArch64/misched-fusion-arith-logic.mir

index c895d4f0482ca883c3ff8748a888b670eae34ffb..8f79140cba64f5f8fed81c5de5437f5b116cd36a 100644 (file)
@@ -557,6 +557,7 @@ def ProcExynosM4 : SubtargetFeature<"exynosm4", "ARMProcFamily", "ExynosM3",
                                      FeatureFP16FML,
                                      FeatureFuseAddress,
                                      FeatureFuseAES,
+                                     FeatureFuseArithmeticLogic,
                                      FeatureFuseCCSelect,
                                      FeatureFuseLiterals,
                                      FeatureLSLFast,
index f844347270a30a6f058e4c05d4326ce58e632b34..62276779d1423991acbd81d09cf4071a30b1015b 100644 (file)
@@ -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
 
 ---