Skip to content

Commit

Permalink
Use LLVM ADTs. (#2080)
Browse files Browse the repository at this point in the history
  • Loading branch information
schweitzpgi authored Aug 12, 2024
1 parent 73a11a4 commit 3760310
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 3760310

Please sign in to comment.