[PATCH] D104840: [Orc] Fix name of LLVMOrcIRTransformLayerSetTransform

Valentin Churavy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 12:44:03 PDT 2021


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG69e0f790e032: [Orc] Fix name of LLVMOrcIRTransformLayerSetTransform (authored by vchuravy).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104840

Files:
  llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
  llvm/include/llvm-c/Orc.h
  llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp


Index: llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
===================================================================
--- llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
+++ llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
@@ -526,7 +526,7 @@
   delete unwrap(ObjLayer);
 }
 
-void LLVMOrcLLJITIRTransformLayerSetTransform(
+void LLVMOrcIRTransformLayerSetTransform(
     LLVMOrcIRTransformLayerRef IRTransformLayer,
     LLVMOrcIRTransformLayerTransformFunction TransformFunction, void *Ctx) {
   unwrap(IRTransformLayer)
Index: llvm/include/llvm-c/Orc.h
===================================================================
--- llvm/include/llvm-c/Orc.h
+++ llvm/include/llvm-c/Orc.h
@@ -338,7 +338,7 @@
  * management.
  *
  * Clients can call LLVMOrcLLJITGetIRTransformLayer to obtain the transform
- * layer of a LLJIT instance, and use LLVMOrcLLJITIRTransformLayerSetTransform
+ * layer of a LLJIT instance, and use LLVMOrcIRTransformLayerSetTransform
  * to set the function. This can be used to override the default transform
  * layer.
  */
@@ -783,7 +783,7 @@
  * Set the transform function of the provided transform layer, passing through a
  * pointer to user provided context.
  */
-void LLVMOrcLLJITIRTransformLayerSetTransform(
+void LLVMOrcIRTransformLayerSetTransform(
     LLVMOrcIRTransformLayerRef IRTransformLayer,
     LLVMOrcIRTransformLayerTransformFunction TransformFunction, void *Ctx);
 
Index: llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
===================================================================
--- llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
+++ llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/OrcV2CBindingsIRTransforms.c
@@ -91,7 +91,7 @@
   // Use TransformLayer to set IR transform.
   {
     LLVMOrcIRTransformLayerRef TL = LLVMOrcLLJITGetIRTransformLayer(J);
-    LLVMOrcLLJITIRTransformLayerSetTransform(TL, *transform, NULL);
+    LLVMOrcIRTransformLayerSetTransform(TL, *transform, NULL);
   }
 
   // Create our demo module.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104840.355665.patch
Type: text/x-patch
Size: 2064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210630/da740149/attachment.bin>


More information about the llvm-commits mailing list