Skip to content

Commit

Permalink
Use LLVM ADTs.
Browse files Browse the repository at this point in the history
  • Loading branch information
schweitzpgi committed Aug 12, 2024
1 parent 018f582 commit 676de94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Optimizer/Transforms/LiftArrayAlloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class AllocaPattern : public OpRewritePattern<cudaq::cc::AllocaOp> {
rewriter.create<cudaq::cc::ConstantArrayOp>(loc, arrTy, valuesAttr);
}

std::vector<mlir::Operation *> toErase;
SmallVector<Operation *> toErase;

// Rewalk all the uses of alloc, u, which must be cc.cast or cc.compute_ptr.
// For each,u, remove a store and replace a load with a cc.extract_value.
Expand Down

0 comments on commit 676de94

Please sign in to comment.