Skip to content

Commit 1b1b83f

Browse files
authored
[CIR][NFC] Remove Covered MissingFeatures flags for Complex (#158425)
Remove Covered MissingFeatures flags for Complex
1 parent 43ba999 commit 1b1b83f

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

clang/include/clang/CIR/MissingFeatures.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ struct MissingFeatures {
296296
// Future CIR operations
297297
static bool awaitOp() { return false; }
298298
static bool callOp() { return false; }
299-
static bool complexImagOp() { return false; }
300-
static bool complexRealOp() { return false; }
301299
static bool ifOp() { return false; }
302300
static bool invokeOp() { return false; }
303301
static bool labelOp() { return false; }

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,9 +1754,6 @@ LogicalResult cir::BinOp::verify() {
17541754
return emitError() << "The nsw/nuw flags and the saturated flag are "
17551755
"mutually exclusive";
17561756

1757-
assert(!cir::MissingFeatures::complexType());
1758-
// TODO(cir): verify for complex binops
1759-
17601757
return mlir::success();
17611758
}
17621759

clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ void CIRCanonicalizePass::runOnOperation() {
134134
getOperation()->walk([&](Operation *op) {
135135
assert(!cir::MissingFeatures::switchOp());
136136
assert(!cir::MissingFeatures::tryOp());
137-
assert(!cir::MissingFeatures::complexRealOp());
138-
assert(!cir::MissingFeatures::complexImagOp());
139137
assert(!cir::MissingFeatures::callOp());
140138

141139
// Many operations are here to perform a manual `fold` in

0 commit comments

Comments
 (0)