Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Integrate LLVM at llvm/llvm-project@8598bcb9
Browse files Browse the repository at this point in the history
Updates LLVM usage to match llvm/llvm-project@8598bcb9, which includes
replacing 'cast' (deprecated).
Further updates the StableHLO submodule to openxla/stablehlo@2a6ae6e and
sets the tf-nighlty version to install to 2.18.0.dev20240703 as the
older one is now longer available.
  • Loading branch information
marbre committed Jul 29, 2024
1 parent c3d320e commit 1d72f5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build_tools/llvm_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
676d3bafc09d0c331a04b813804407334de12917
8598bcb9934dca16ea16d87304e00defc85d986c
3 changes: 1 addition & 2 deletions lib/Conversion/TosaToEmitC/TosaToEmitC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,7 @@ createBroadcastOpIfNeeded(SrcOp &srcOp, Adaptor adaptor,
SmallVector<Value> broadcastedOperands;

for (auto operand : adaptor.getOperands()) {
RankedTensorType operandTensor =
operand.getType().template cast<RankedTensorType>();
RankedTensorType operandTensor = cast<RankedTensorType>(operand.getType());
auto operandShape = operandTensor.getShape();
auto operandRank = operandTensor.getRank();

Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tf-nightly==2.16.0.dev20240207
tf-nightly==2.18.0.dev20240703
ml_dtypes==0.3.1
wrapt==1.14.1
2 changes: 1 addition & 1 deletion third_party/stablehlo
Submodule stablehlo updated 294 files

0 comments on commit 1d72f5b

Please sign in to comment.