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 316b23e commit 111efdbCopy full SHA for 111efdb
clang/lib/CIR/Dialect/IR/CIRDialect.cpp
@@ -2067,9 +2067,8 @@ LogicalResult cir::ComplexRealOp::verify() {
2067
2068
OpFoldResult cir::ComplexRealOp::fold(FoldAdaptor adaptor) {
2069
if (auto complexCreateOp = dyn_cast_or_null<cir::ComplexCreateOp>(
2070
- getOperand().getDefiningOp())) {
+ getOperand().getDefiningOp()))
2071
return complexCreateOp.getOperand(0);
2072
- }
2073
2074
auto complex =
2075
mlir::cast_if_present<cir::ConstComplexAttr>(adaptor.getOperand());
clang/test/CIR/Transforms/complex-real-fold.cir
@@ -1,4 +1,4 @@
1
-// RUN: cir-opt %s -cir-canonicalize -o - -split-input-file | FileCheck %s
+// RUN: cir-opt %s -cir-canonicalize -o - -split-input-file | FileCheck %s
2
3
!s32i = !cir.int<s, 32>
4
0 commit comments