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 e69a5b6 commit f8f40c4Copy full SHA for f8f40c4
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