Skip to content

Commit c7d9a3e

Browse files
committed
Fixup
1 parent c364e68 commit c7d9a3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,13 +2429,13 @@ mlir::LogicalResult CIRToLLVMCmpOpLowering::matchAndRewrite(
24292429
getTypeConverter()->convertType(complexType.getElementType());
24302430

24312431
auto lhsReal = mlir::LLVM::ExtractValueOp::create(
2432-
rewriter, loc, complexElemTy, lhs, int64_t{0});
2432+
rewriter, loc, complexElemTy, lhs, ArrayRef(int64_t{0}));
24332433
auto lhsImag = mlir::LLVM::ExtractValueOp::create(
2434-
rewriter, loc, complexElemTy, lhs, int64_t{1});
2434+
rewriter, loc, complexElemTy, lhs, ArrayRef(int64_t{1}));
24352435
auto rhsReal = mlir::LLVM::ExtractValueOp::create(
2436-
rewriter, loc, complexElemTy, rhs, int64_t{0});
2436+
rewriter, loc, complexElemTy, rhs, ArrayRef(int64_t{0}));
24372437
auto rhsImag = mlir::LLVM::ExtractValueOp::create(
2438-
rewriter, loc, complexElemTy, rhs, int64_t{1});
2438+
rewriter, loc, complexElemTy, rhs, ArrayRef(int64_t{1}));
24392439

24402440
if (cmpOp.getKind() == cir::CmpOpKind::eq) {
24412441
if (complexElemTy.isInteger()) {

0 commit comments

Comments
 (0)