[llvm-branch-commits] [llvm] [clang] [SPARC] Prefer RDPC over CALL to implement GETPCX for 64-bit target (PR #77196)

Sergei Barannikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 8 13:39:16 PST 2024


================
@@ -118,9 +126,11 @@ def : Proc<"ma2480",          [FeatureLeon, LeonCASA]>;
 def : Proc<"ma2485",          [FeatureLeon, LeonCASA]>;
 def : Proc<"ma2x8x",          [FeatureLeon, LeonCASA]>;
 def : Proc<"v9",              [FeatureV9]>;
-def : Proc<"ultrasparc",      [FeatureV9, FeatureV8Deprecated, FeatureVIS]>;
+def : Proc<"ultrasparc",      [FeatureV9, FeatureV8Deprecated, FeatureVIS],
+                              [TuneSlowRDPC]>;
----------------
s-barannikov wrote:

I see. IIUC -mtune is translate into -tune-cpu llc option. If so, the test should use this option.


https://github.com/llvm/llvm-project/pull/77196


More information about the llvm-branch-commits mailing list