[llvm-branch-commits] [mlir] 0b510e7 - [mlir] Fix opaque struct typedef in AsyncRuntime header

Eugene Zhulenev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 14 15:09:11 PST 2020


Author: Eugene Zhulenev
Date: 2020-12-14T15:04:59-08:00
New Revision: 0b510e79ce341af6a0ad951d52d516b833d5cefd

URL: https://github.com/llvm/llvm-project/commit/0b510e79ce341af6a0ad951d52d516b833d5cefd
DIFF: https://github.com/llvm/llvm-project/commit/0b510e79ce341af6a0ad951d52d516b833d5cefd.diff

LOG: [mlir] Fix opaque struct typedef in AsyncRuntime header

Differential Revision: https://reviews.llvm.org/D93250

Added: 
    

Modified: 
    mlir/include/mlir/ExecutionEngine/AsyncRuntime.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/ExecutionEngine/AsyncRuntime.h b/mlir/include/mlir/ExecutionEngine/AsyncRuntime.h
index 26b0a236f0d3..54724af4133d 100644
--- a/mlir/include/mlir/ExecutionEngine/AsyncRuntime.h
+++ b/mlir/include/mlir/ExecutionEngine/AsyncRuntime.h
@@ -37,10 +37,10 @@
 //===----------------------------------------------------------------------===//
 
 // Runtime implementation of `async.token` data type.
-typedef struct AsyncToken MLIR_AsyncToken;
+typedef struct AsyncToken AsyncToken;
 
 // Runtime implementation of `async.group` data type.
-typedef struct AsyncGroup MLIR_AsyncGroup;
+typedef struct AsyncGroup AsyncGroup;
 
 // Async runtime uses LLVM coroutines to represent asynchronous tasks. Task
 // function is a coroutine handle and a resume function that continue coroutine


        


More information about the llvm-branch-commits mailing list