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@765206e0
Browse files Browse the repository at this point in the history
Updates LLVM usage to match llvm/llvm-project@765206e0, which includes
replacing 'cast' (deprecated).
Further updates the StableHLO submodule to openxla/stablehlo@14e2323.
  • Loading branch information
marbre committed Jun 11, 2024
1 parent c3d320e commit 8fad496
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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
765206e050453018e861637a08a4520f29238074
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 third_party/stablehlo
Submodule stablehlo updated 224 files

0 comments on commit 8fad496

Please sign in to comment.