[llvm] r281359 - [Myriad]: set LeonCASA processor feature
Douglas Katzman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 10:51:41 PDT 2016
Author: dougk
Date: Tue Sep 13 12:51:41 2016
New Revision: 281359
URL: http://llvm.org/viewvc/llvm-project?rev=281359&view=rev
Log:
[Myriad]: set LeonCASA processor feature
Modified:
llvm/trunk/lib/Target/Sparc/Sparc.td
llvm/trunk/test/CodeGen/SPARC/LeonCASAInstructionUT.ll
Modified: llvm/trunk/lib/Target/Sparc/Sparc.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/Sparc.td?rev=281359&r1=281358&r2=281359&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/Sparc.td (original)
+++ llvm/trunk/lib/Target/Sparc/Sparc.td Tue Sep 13 12:51:41 2016
@@ -84,12 +84,12 @@ def : Proc<"hypersparc", []>;
def : Proc<"sparclite86x", []>;
def : Proc<"sparclet", []>;
def : Proc<"tsc701", []>;
-def : Proc<"myriad2", []>;
-def : Proc<"myriad2.1", []>;
-def : Proc<"myriad2.2", []>;
-def : Proc<"ma2100", []>;
-def : Proc<"ma2150", []>;
-def : Proc<"ma2450", []>;
+def : Proc<"myriad2", [FeatureLeon, LeonCASA]>;
+def : Proc<"myriad2.1", [FeatureLeon, LeonCASA]>;
+def : Proc<"myriad2.2", [FeatureLeon, LeonCASA]>;
+def : Proc<"ma2100", [FeatureLeon, LeonCASA]>;
+def : Proc<"ma2150", [FeatureLeon, LeonCASA]>;
+def : Proc<"ma2450", [FeatureLeon, LeonCASA]>;
def : Proc<"v9", [FeatureV9]>;
def : Proc<"ultrasparc", [FeatureV9, FeatureV8Deprecated, FeatureVIS]>;
def : Proc<"ultrasparc3", [FeatureV9, FeatureV8Deprecated, FeatureVIS,
Modified: llvm/trunk/test/CodeGen/SPARC/LeonCASAInstructionUT.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/LeonCASAInstructionUT.ll?rev=281359&r1=281358&r2=281359&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/SPARC/LeonCASAInstructionUT.ll (original)
+++ llvm/trunk/test/CodeGen/SPARC/LeonCASAInstructionUT.ll Tue Sep 13 12:51:41 2016
@@ -2,6 +2,7 @@
; RUN: llc %s -O0 -march=sparc -mcpu=gr712rc -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=leon4 -o - | FileCheck %s
; RUN: llc %s -O0 -march=sparc -mcpu=gr740 -o - | FileCheck %s
+; RUN: llc %s -O0 -march=sparc -mcpu=myriad2 -o - | FileCheck %s
; CHECK-LABEL: casa_test
; CHECK: casa [%o0] 10, %o3, %o2
More information about the llvm-commits
mailing list