You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/google/home/sdasgup/Github/stablehlo/stablehlo/conversions/tosa/transforms/TosaRescaleLegalizeToStablehlo.cpp:68:25: error: no member named 'getRoundingMode' in 'mlir::tosa::RescaleOp'
bool doubleRound = op.getRoundingMode() == "DOUBLE_ROUND";
~~ ^
/usr/local/google/home/sdasgup/Github/stablehlo/stablehlo/conversions/tosa/transforms/TosaRescaleLegalizeToStablehlo.cpp:110:9: error: no viable conversion from '::llvm::ArrayRef<int32_t>' (aka 'ArrayRef<int>')
to 'Value'
Value multiplier = op.getMultiplier();
The PR is an attempt to address some of these issues, but it appears that the problem is more involving than we initially anticipated. Do you mind helping us updating the StablehloQuantLegalizeToTosaRescale.cpp and TosaRescaleLegalizeToStablehlo.cpp passes to accommodate these recent changes.
The text was updated successfully, but these errors were encountered:
Other than the usual integration, this PR also addresses the followings:
1. Disables certain build and tests for
#2751.
In stablehlo/conversions/tosa/transforms/CMakeLists.txt, just commenting
the problematic files is not enough because
```
LLVM's build system enforces that all source files are added to a build target
```
Hence we added add `PARTIAL_SOURCES_INTENDED` to the target
specification, though it is discouraged.
1. Fixes `build_tools/integrate/llvm_bump_revision.sh` to account for
unset value of `$1` as enforced by `set -o nounset`
I already have a fix for the compile errors, and adjusted the tests legalize_quant_ops_to_tosa_rescale.mlir and legalize_tosa_rescale_to_stablehlo.mlir
The other disabled tests are still failing and will need adjustments.
Hi @Tai78641
The recent TOSA dialect changes introduced by https://github.com/llvm/llvm-project/pull/129720 have caused breakages, for example:
The PR is an attempt to address some of these issues, but it appears that the problem is more involving than we initially anticipated. Do you mind helping us updating the
StablehloQuantLegalizeToTosaRescale.cpp
andTosaRescaleLegalizeToStablehlo.cpp
passes to accommodate these recent changes.The text was updated successfully, but these errors were encountered: