[PATCH] D129349: [Sparc] Don't claim JIT support on SPARC for now

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 23:19:16 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG09c1ee1086a4: [Sparc] Don't claim JIT support on SPARC for now (authored by ro).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129349/new/

https://reviews.llvm.org/D129349

Files:
  llvm/lib/Target/Sparc/CMakeLists.txt
  llvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp


Index: llvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp
===================================================================
--- llvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp
+++ llvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp
@@ -24,10 +24,10 @@
 }
 
 extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTargetInfo() {
-  RegisterTarget<Triple::sparc, /*HasJIT=*/true> X(getTheSparcTarget(), "sparc",
-                                                   "Sparc", "Sparc");
-  RegisterTarget<Triple::sparcv9, /*HasJIT=*/true> Y(
+  RegisterTarget<Triple::sparc, /*HasJIT=*/false> X(getTheSparcTarget(),
+                                                    "sparc", "Sparc", "Sparc");
+  RegisterTarget<Triple::sparcv9, /*HasJIT=*/false> Y(
       getTheSparcV9Target(), "sparcv9", "Sparc V9", "Sparc");
-  RegisterTarget<Triple::sparcel, /*HasJIT=*/true> Z(
+  RegisterTarget<Triple::sparcel, /*HasJIT=*/false> Z(
       getTheSparcelTarget(), "sparcel", "Sparc LE", "Sparc");
 }
Index: llvm/lib/Target/Sparc/CMakeLists.txt
===================================================================
--- llvm/lib/Target/Sparc/CMakeLists.txt
+++ llvm/lib/Target/Sparc/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_component_group(Sparc HAS_JIT)
+add_llvm_component_group(Sparc)
 
 set(LLVM_TARGET_DEFINITIONS Sparc.td)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129349.444884.patch
Type: text/x-patch
Size: 1329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220715/81f6dd92/attachment.bin>


More information about the llvm-commits mailing list