forked from OSchip/llvm-project
[mlir] drop unused statics
This commit is contained in:
parent
988cc0a083
commit
91bd1156f3
|
@ -24,9 +24,6 @@
|
|||
using namespace mlir;
|
||||
using namespace mlir::async;
|
||||
|
||||
// Prefix for functions outlined from `async.execute` op regions.
|
||||
static constexpr const char kAsyncFnPrefix[] = "async_execute_fn";
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Async Runtime C API declaration.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
|
@ -204,14 +204,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
// Extract int64_t values from the assumed ArrayAttr of IntegerAttr.
|
||||
static SmallVector<int64_t, 4> extractFromI64ArrayAttr(Attribute attr) {
|
||||
return llvm::to_vector<4>(
|
||||
llvm::map_range(attr.cast<ArrayAttr>(), [](Attribute a) -> int64_t {
|
||||
return a.cast<IntegerAttr>().getInt();
|
||||
}));
|
||||
}
|
||||
|
||||
/// Convert `subtensor %t [offsets][sizes][strides] -> %st` to an alloc + copy
|
||||
/// pattern.
|
||||
/// ```
|
||||
|
|
Loading…
Reference in New Issue