Skip to content

Commit fb74ffd

Browse files
committed
remove cuf
1 parent 3e21642 commit fb74ffd

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ static llvm::LogicalResult checkCudaAttr(Op op) {
6767

6868
llvm::LogicalResult cuf::AllocOp::verify() { return checkCudaAttr(*this); }
6969

70-
// Attach value-scoped MemAlloc to the result value.
71-
void cuf::AllocOp::getEffects(
72-
llvm::SmallVectorImpl<mlir::MemoryEffects::EffectInstance> &effects) {
73-
effects.emplace_back(mlir::MemoryEffects::Allocate::get(),
74-
mlir::cast<mlir::OpResult>(getPtr()),
75-
mlir::SideEffects::DefaultResource::get());
76-
}
77-
7870
//===----------------------------------------------------------------------===//
7971
// FreeOp
8072
//===----------------------------------------------------------------------===//

flang/test/Analysis/AliasAnalysis/cuf-alloc-source-kind.mlir

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)