Skip to content

Commit f8f40c4

Browse files
committed
Address code review comment
1 parent e69a5b6 commit f8f40c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CIR/Dialect/IR/CIRDialect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,8 +1534,8 @@ LogicalResult cir::GetMemberOp::verify() {
15341534
//===----------------------------------------------------------------------===//
15351535

15361536
OpFoldResult cir::VecCreateOp::fold(FoldAdaptor adaptor) {
1537-
if (llvm::any_of(getElements(), [](mlir::Value attr) {
1538-
return !mlir::isa<cir::ConstantOp>(attr.getDefiningOp());
1537+
if (llvm::any_of(getElements(), [](mlir::Value value) {
1538+
return !mlir::isa<cir::ConstantOp>(value.getDefiningOp());
15391539
}))
15401540
return {};
15411541

0 commit comments

Comments
 (0)