Skip to content

Commit

Permalink
Merge branch 'main' into add-remote-sim-tests-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
annagrin authored Aug 12, 2024
2 parents 8a645e4 + 3760310 commit 6183daf
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 6183daf

Please sign in to comment.