Skip to content

Commit f793fe1

Browse files
author
Evandro Menezes
committed
[AArch64] Adjust the feature set for Exynos
Enable the fusion of arithmetic and logic instructions for Exynos M4. llvm-svn: 351149
1 parent dcaaa1b commit f793fe1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/lib/Target/AArch64/AArch64.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ def ProcExynosM4 : SubtargetFeature<"exynosm4", "ARMProcFamily", "ExynosM3",
557557
FeatureFP16FML,
558558
FeatureFuseAddress,
559559
FeatureFuseAES,
560+
FeatureFuseArithmeticLogic,
560561
FeatureFuseCCSelect,
561562
FeatureFuseLiterals,
562563
FeatureLSLFast,

llvm/test/CodeGen/AArch64/misched-fusion-arith-logic.mir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# RUN: llc -o /dev/null 2>&1 %s -mtriple aarch64-unknown -mattr=fuse-arith-logic -run-pass=machine-scheduler -misched-print-dags | FileCheck %s
2+
# RUN: llc -o /dev/null 2>&1 %s -mtriple aarch64-unknown -mcpu=exynos-m4 -run-pass=machine-scheduler -misched-print-dags | FileCheck %s
23
# REQUIRES: asserts
34

45
---

0 commit comments

Comments
 (0)