This commit is contained in:
William S. Moses 2021-11-16 15:53:39 -05:00 committed by William Moses
parent cf0ba1ce69
commit d244ecaaa2
1 changed files with 0 additions and 6 deletions

View File

@ -512,8 +512,6 @@ static void initializeValueByInitListExpr(mlir::Value toInit, clang::Expr *expr,
if (isArray) {
offsets.push_back(0);
}
expr->getType()->dump();
llvm::errs() << "isAr: " <<isArray << " mlirty: " << mlirty << "\n";
// Recursively visit the initialization expression following the linear
// increment of the memory address.
@ -4472,10 +4470,6 @@ MLIRScanner::VisitConditionalOperator(clang::ConditionalOperator *E) {
cond = builder.create<mlir::LLVM::ICmpOp>(
loc, mlir::LLVM::ICmpPredicate::ne, cond, nullptr_llvm);
}
if (!cond.getType().isa<mlir::IntegerType>()) {
E->dump();
llvm::errs() << cond << "\n";
}
auto prevTy = cond.getType().cast<mlir::IntegerType>();
if (!prevTy.isInteger(1)) {
auto postTy = builder.getI1Type();