We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68277fb commit 0f6dbc0Copy full SHA for 0f6dbc0
clang/lib/CIR/Dialect/IR/CIRDialect.cpp
@@ -1534,8 +1534,8 @@ LogicalResult cir::GetMemberOp::verify() {
1534
//===----------------------------------------------------------------------===//
1535
1536
OpFoldResult cir::VecCreateOp::fold(FoldAdaptor adaptor) {
1537
- if (llvm::any_of(getElements(), [](mlir::Value attr) {
1538
- return !mlir::isa<cir::ConstantOp>(attr.getDefiningOp());
+ if (llvm::any_of(getElements(), [](mlir::Value value) {
+ return !mlir::isa<cir::ConstantOp>(value.getDefiningOp());
1539
}))
1540
return {};
1541
0 commit comments