openxla / xla

A machine learning compiler for GPUs, CPUs, and ML accelerators
Apache License 2.0
2.61k stars 406 forks source link

Add DUS test that is emitted with the loop emitter. #14238

Closed copybara-service[bot] closed 3 months ago

copybara-service[bot] commented 3 months ago

Add DUS test that is emitted with the loop emitter.

We already had a unit test for dynamic update slice emitted with the mlir loop emitter. But we didn't have a end2end test that checks that the results are correct. Use one example that would have also been broken by a recent LLVM change.