diff --git a/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp b/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp index 51158f9939d4..90dc0b220688 100644 --- a/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp +++ b/compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp @@ -126,7 +126,7 @@ ExecutableLibraryDI::getConstOf(LLVM::DITypeAttr typeAttr) { builder.getContext(), llvm::dwarf::DW_TAG_const_type, /*name=*/nullptr, typeAttr, /*sizeInBits=*/0, /*alignInBits=*/0, /*offsetInBits=*/0, /*dwarfAddressSpace=*/std::nullopt, - /*extraData=*/nullptr); + /*flags=*/LLVM::DIFlags::Zero, /*extraData=*/nullptr); } LLVM::DIDerivedTypeAttr @@ -137,7 +137,7 @@ ExecutableLibraryDI::getPtrOf(LLVM::DITypeAttr typeAttr) { /*alignInBits=*/0, /*offsetInBits=*/0, /*dwarfAddressSpace=*/std::nullopt, - /*extraData=*/nullptr); + /*flags=*/LLVM::DIFlags::Zero, /*extraData=*/nullptr); } LLVM::DICompositeTypeAttr @@ -166,7 +166,7 @@ ExecutableLibraryDI::getTypedefOf(StringRef name, LLVM::DITypeAttr typeAttr) { builder.getContext(), llvm::dwarf::DW_TAG_typedef, builder.getStringAttr(name), typeAttr, /*sizeInBits=*/0, /*alignInBits=*/0, /*offsetInBits=*/0, /*dwarfAddressSpace=*/std::nullopt, - /*extraData=*/nullptr); + /*flags=*/LLVM::DIFlags::Zero, /*extraData=*/nullptr); } LLVM::DIDerivedTypeAttr @@ -180,7 +180,7 @@ ExecutableLibraryDI::getMemberOf(StringRef name, LLVM::DITypeAttr typeAttr, builder.getStringAttr(name), typeAttr, /*sizeInBits=*/memberSizeInBits, /*alignInBits=*/0, /*offsetInBits=*/memberOffsetInBits, /*dwarfAddressSpace=*/std::nullopt, - /*extraData=*/nullptr); + /*flags=*/LLVM::DIFlags::Zero, /*extraData=*/nullptr); } LLVM::DITypeAttr ExecutableLibraryDI::getBasicType(Type type) { diff --git a/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp b/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp index 98c51e010753..9151832adb2d 100644 --- a/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp +++ b/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.cpp @@ -71,7 +71,7 @@ LogicalResult IntegerDivisibilityAnalysis::visitOperation( void IntegerDivisibilityAnalysis::visitNonControlFlowArguments( Operation *op, const RegionSuccessor &successor, ValueRange successorInputs, - ArrayRef argLattices, unsigned firstIndex) { + ArrayRef argLattices) { // Get the constant divisibility, or query the lattice for Values. auto getDivFromOfr = [&](std::optional ofr, Block *block, bool isUnsigned) -> uint64_t { @@ -99,7 +99,7 @@ void IntegerDivisibilityAnalysis::visitNonControlFlowArguments( std::optional> steps = loop.getLoopSteps(); if (!ivs || !lbs || !steps) { return SparseForwardDataFlowAnalysis::visitNonControlFlowArguments( - op, successor, successorInputs, argLattices, firstIndex); + op, successor, successorInputs, argLattices); } for (auto [iv, lb, step] : llvm::zip_equal(*ivs, *lbs, *steps)) { IntegerDivisibilityLattice *ivEntry = getLatticeElement(iv); @@ -122,7 +122,7 @@ void IntegerDivisibilityAnalysis::visitNonControlFlowArguments( } return SparseForwardDataFlowAnalysis::visitNonControlFlowArguments( - op, successor, successorInputs, argLattices, firstIndex); + op, successor, successorInputs, argLattices); } } // namespace mlir::iree_compiler::IREE::Util diff --git a/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.h b/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.h index 0717d4dae7e4..f2bca23b48ad 100644 --- a/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.h +++ b/compiler/src/iree/compiler/Dialect/Util/Analysis/IntegerDivisibilityAnalysis.h @@ -43,8 +43,7 @@ class IntegerDivisibilityAnalysis void visitNonControlFlowArguments( Operation *op, const RegionSuccessor &successor, ValueRange successorInputs, - ArrayRef argLattices, - unsigned firstIndex) override; + ArrayRef argLattices) override; }; } // namespace mlir::iree_compiler::IREE::Util diff --git a/third_party/llvm-project b/third_party/llvm-project index 185cbe611c15..b24bd7161ca7 160000 --- a/third_party/llvm-project +++ b/third_party/llvm-project @@ -1 +1 @@ -Subproject commit 185cbe611c1520039fa77d6c06e69ddad95ce4e2 +Subproject commit b24bd7161ca7eb6e9652c34b92e200ac16af3628