Skip to content

Commit 9eb5199

Browse files
formatting
1 parent 93c0ded commit 9eb5199

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

clang/include/clang/CIR/Dialect/IR/CIROps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ def CIR_FuncOp : CIR_Op<"func", [
25982598
def CIR_LLVMIntrinsicCallOp : CIR_Op<"call_llvm_intrinsic"> {
25992599
let summary = "Call to llvm intrinsic functions that is not defined in CIR";
26002600
let description = [{
2601-
`cir.llvm.intrinsic` operation represents a call-like expression which has
2601+
`cir.call_llvm_intrinsic` operation represents a call-like expression which has
26022602
return type and arguments that maps directly to a llvm intrinsic.
26032603
It only records intrinsic `intrinsic_name`.
26042604
}];

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,14 +1430,14 @@ mlir::Value CIRGenFunction::emitPromotedScalarExpr(const Expr *e,
14301430
return ScalarExprEmitter(*this, builder).Visit(const_cast<Expr *>(e));
14311431
}
14321432

1433-
mlir::Value CIRGenFunction::emitScalarOrConstFoldImmArg(unsigned ICEArguments,
1433+
mlir::Value CIRGenFunction::emitScalarOrConstFoldImmArg(unsigned iceArguments,
14341434
unsigned index,
14351435
const CallExpr *e) {
14361436
mlir::Value arg{};
14371437

14381438
// The bit at the specified index indicates whether the argument is required
14391439
// to be a constant integer expression.
1440-
bool isArgRequiredToBeConstant = (ICEArguments & (1 << index));
1440+
bool isArgRequiredToBeConstant = (iceArguments & (1 << index));
14411441

14421442
if (!isArgRequiredToBeConstant) {
14431443
arg = emitScalarExpr(e->getArg(index));

clang/lib/CIR/CodeGen/CIRGenFunction.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,8 +1529,7 @@ class CIRGenFunction : public CIRGenTypeCache {
15291529
mlir::Value emitScalarExpr(const clang::Expr *e,
15301530
bool ignoreResultAssign = false);
15311531

1532-
mlir::Value emitScalarOrConstFoldImmArg(unsigned ICEArguments,
1533-
unsigned index,
1532+
mlir::Value emitScalarOrConstFoldImmArg(unsigned iceArguments, unsigned index,
15341533
const CallExpr *e);
15351534

15361535
mlir::Value emitScalarPrePostIncDec(const UnaryOperator *e, LValue lv,

0 commit comments

Comments
 (0)