Skip to content

Commit

Permalink
Integrate LLVM at llvm/llvm-project@ef8de6 (#18004)
Browse files Browse the repository at this point in the history
Advance to
llvm/llvm-project@ef8de68

* Still carrying a revert of
llvm/llvm-project@fa06668
* New revert of
llvm/llvm-project@bbd4af5
due to asserts/crashes during f64 to f32 demotion
* A patch like
ScottTodd/llvm-project@f766cd2
is being discussed to fix-forward
* Patch for ambiguous conversion in
llvm/llvm-project@e3b30bc
* Also landed that patch upstream, for our next integrate:
llvm/llvm-project@4f80508
* Local build fixes for
llvm/llvm-project@ef8de68
  • Loading branch information
ScottTodd authored Jul 25, 2024
1 parent 6a11aed commit 456d80c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions compiler/src/iree/compiler/Codegen/LLVMCPU/DispatchABI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,10 @@ static Value buildArgDI(Operation *forOp, int argNum, Value value, Twine name,
auto scopeAttr = getLocalScopeAttr(forOp);
builder.create<LLVM::DbgValueOp>(
loc, value,
LLVM::DILocalVariableAttr::get(scopeAttr, builder.getStringAttr(name),
scopeAttr.getFile(),
/*line=*/1, /*arg=*/argNum + 1,
/*alignInBits=*/0, type));
LLVM::DILocalVariableAttr::get(
scopeAttr, builder.getStringAttr(name), scopeAttr.getFile(),
/*line=*/1, /*arg=*/argNum + 1,
/*alignInBits=*/0, type, LLVM::DIFlags::Zero));
return value;
}

Expand All @@ -626,10 +626,10 @@ static Value buildValueDI(Operation *forOp, Value value, Twine name,
auto scopeAttr = getLocalScopeAttr(forOp);
builder.create<LLVM::DbgValueOp>(
loc, value,
LLVM::DILocalVariableAttr::get(scopeAttr, builder.getStringAttr(name),
scopeAttr.getFile(),
/*line=*/1, /*arg=*/0,
/*alignInBits=*/0, type));
LLVM::DILocalVariableAttr::get(
scopeAttr, builder.getStringAttr(name), scopeAttr.getFile(),
/*line=*/1, /*arg=*/0,
/*alignInBits=*/0, type, LLVM::DIFlags::Zero));
return value;
}

Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 1415 files

0 comments on commit 456d80c

Please sign in to comment.