[llvm] r351149 - [AArch64] Adjust the feature set for Exynos
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 17:53:49 PST 2019
Author: evandro
Date: Mon Jan 14 17:53:49 2019
New Revision: 351149
URL: http://llvm.org/viewvc/llvm-project?rev=351149&view=rev
Log:
[AArch64] Adjust the feature set for Exynos
Enable the fusion of arithmetic and logic instructions for Exynos M4.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64.td
llvm/trunk/test/CodeGen/AArch64/misched-fusion-arith-logic.mir
Modified: llvm/trunk/lib/Target/AArch64/AArch64.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64.td?rev=351149&r1=351148&r2=351149&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64.td (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64.td Mon Jan 14 17:53:49 2019
@@ -557,6 +557,7 @@ def ProcExynosM4 : SubtargetFeature<"exy
FeatureFP16FML,
FeatureFuseAddress,
FeatureFuseAES,
+ FeatureFuseArithmeticLogic,
FeatureFuseCCSelect,
FeatureFuseLiterals,
FeatureLSLFast,
Modified: llvm/trunk/test/CodeGen/AArch64/misched-fusion-arith-logic.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/misched-fusion-arith-logic.mir?rev=351149&r1=351148&r2=351149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/misched-fusion-arith-logic.mir (original)
+++ llvm/trunk/test/CodeGen/AArch64/misched-fusion-arith-logic.mir Mon Jan 14 17:53:49 2019
@@ -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
---
More information about the llvm-commits
mailing list