-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move MHLO machinery for printing array refs into AssemblyFormat #485
Labels
Comments
Once done, let's use the new assembly format in |
burmako
added
Migrate from MHLO
Issue or PR that migrates from an MLIR-HLO commit
and removed
Migrate to MHLO
PR that needs to be migrated to MLIR-HLO
labels
Nov 13, 2022
copybara-service bot
pushed a commit
to tensorflow/mlir-hlo
that referenced
this issue
Nov 15, 2022
Manually updated files: * stablehlo/dialect/StablehloAttrs.td * stablehlo/dialect/StablehloOps.cpp * stablehlo/dialect/StablehloOps.h Manual updates were needed (and will be needed) until openxla/stablehlo#485 is fixed. PiperOrigin-RevId: 488667219
copybara-service bot
pushed a commit
to google/tsl
that referenced
this issue
Nov 15, 2022
Manually updated files: * stablehlo/dialect/StablehloAttrs.td * stablehlo/dialect/StablehloOps.cpp * stablehlo/dialect/StablehloOps.h Manual updates were needed (and will be needed) until openxla/stablehlo#485 is fixed. PiperOrigin-RevId: 488667219
copybara-service bot
pushed a commit
to tensorflow/tensorflow
that referenced
this issue
Nov 15, 2022
Manually updated files: * stablehlo/dialect/StablehloAttrs.td * stablehlo/dialect/StablehloOps.cpp * stablehlo/dialect/StablehloOps.h Manual updates were needed (and will be needed) until openxla/stablehlo#485 is fixed. PiperOrigin-RevId: 488667219
The migrate from MHLO part is done in #546, which has just been merged. As discussed, there's still the matter of sharing this machinery with MHLO via |
Fixed in tensorflow/mlir-hlo@c1f1538 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Request description
Found in #403. Move printing machinery for array refs to
AssemblyFormat.h
. Currently we haveprintDenseI64Array
, which works forI64ElementsAttr
andBroadcastDimsAttr
but not fordef StableHLO_Dim : ArrayRefParameter<"int64_t", "Dimension">;
As a follow-up change the HLODim printing to use this new functionality as suggested in #403.
The text was updated successfully, but these errors were encountered: