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 e823abc commit 26fac40Copy full SHA for 26fac40
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
@@ -1107,8 +1107,7 @@ mlir::LogicalResult CIRToLLVMATanOpLowering::matchAndRewrite(
1107
cir::ATanOp op, OpAdaptor adaptor,
1108
mlir::ConversionPatternRewriter &rewriter) const {
1109
mlir::Type resTy = typeConverter->convertType(op.getType());
1110
- rewriter.replaceOpWithNewOp<mlir::LLVM::ATanOp>(op, resTy,
1111
- adaptor.getOperands()[0]);
+ rewriter.replaceOpWithNewOp<mlir::LLVM::ATanOp>(op, resTy, adaptor.getSrc());
1112
return mlir::success();
1113
}
1114
0 commit comments