Skip to content

Commit edbdcb1

Browse files
committed
Address code review comments
1 parent 764cd36 commit edbdcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ mlir::LogicalResult CIRToLLVMASinOpLowering::matchAndRewrite(
603603
mlir::ConversionPatternRewriter &rewriter) const {
604604
mlir::Type resTy = typeConverter->convertType(op.getType());
605605
rewriter.replaceOpWithNewOp<mlir::LLVM::ASinOp>(op, resTy,
606-
adaptor.getOperands()[0]);
606+
adaptor.getSrc());
607607
return mlir::success();
608608
}
609609

0 commit comments

Comments
 (0)