iree
iree copied to clipboard
iree-codegen-cpu-materialize-host-encoding fails with invalid reference to GlobalOp
What happened?
I have input MLIR that is exported from the test in this PR. It's compilation with assertions on fails with
iree-compile: repo/compiler/src/iree/compiler/Dialect/HAL/Analysis/DeviceAnalysis.cpp:180: auto mlir::iree_compiler::IREE::HAL::DeviceAnalysis::gatherDeviceTargets(mlir::Attribute, mlir::Operation *, SetVector<IREE::HAL::DeviceTargetAttr> &)::(anonymous class)::operator()(auto) const [symRefAttr:auto = mlir::SymbolRefAttr]: Assertion `globalOp && "global reference must be valid"' failed.
Full error message is in the reproducer zip.
Steps to reproduce your issue
- Download the reproducer sharded-toy-llama.zip.
- Run
compile.sh
.
What component(s) does this issue relate to?
Compiler
Version information
5a2dd5609d41df71e7ad77fb706e1cb971492f7b
Additional context
No response