Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ LogicalResult IntegerDivisibilityAnalysis::visitOperation(

void IntegerDivisibilityAnalysis::visitNonControlFlowArguments(
Operation *op, const RegionSuccessor &successor, ValueRange successorInputs,
ArrayRef<IntegerDivisibilityLattice *> argLattices, unsigned firstIndex) {
ArrayRef<IntegerDivisibilityLattice *> argLattices) {
// Get the constant divisibility, or query the lattice for Values.
auto getDivFromOfr = [&](std::optional<OpFoldResult> ofr, Block *block,
bool isUnsigned) -> uint64_t {
Expand Down Expand Up @@ -99,7 +99,7 @@ void IntegerDivisibilityAnalysis::visitNonControlFlowArguments(
std::optional<SmallVector<OpFoldResult>> 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);
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ class IntegerDivisibilityAnalysis
void visitNonControlFlowArguments(
Operation *op, const RegionSuccessor &successor,
ValueRange successorInputs,
ArrayRef<IntegerDivisibilityLattice *> argLattices,
unsigned firstIndex) override;
ArrayRef<IntegerDivisibilityLattice *> argLattices) override;
};

} // namespace mlir::iree_compiler::IREE::Util
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 676 files
Loading