Skip to content

Commit 2228f05

Browse files
bcardosolopeslanza
authored andcommitted
[CIR][CodeGen][NFC] Fix CallOp related comments
1 parent 2064f84 commit 2228f05

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

clang/lib/CIR/CodeGen/CIRGenCall.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,6 @@ RValue CIRGenFunction::buildCall(const CIRGenFunctionInfo &CallInfo,
396396

397397
// Emit the actual call op.
398398
auto callLoc = CGM.getLoc(Loc);
399-
400-
// FIXME: Used to be:
401-
// auto theCall = CGM.getBuilder().create<mlir::cir::CallOp>(
402-
// callLoc, mlir::SymbolRefAttr::get(CalleePtr),
403-
// CalleePtr.getType().getResults(), CIRCallArgs);
404399
auto theCall = CGM.getBuilder().create<mlir::cir::CallOp>(callLoc, CalleePtr,
405400
CIRCallArgs);
406401

clang/lib/CIR/CodeGen/CIRGenFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class CIRGenFunction {
544544
AbstractCallee AC = AbstractCallee(), unsigned ParamsToSkip = 0,
545545
EvaluationOrder Order = EvaluationOrder::Default);
546546

547-
/// buildCall - Generate a call of the given function, expecting the given
547+
/// Generate a call of the given function, expecting the given
548548
/// result type, and using the given argument list which specifies both the
549549
/// LLVM arguments and the types they were derived from.
550550
RValue buildCall(const CIRGenFunctionInfo &CallInfo,

0 commit comments

Comments
 (0)