This is an archive of the discontinued LLVM Phabricator instance.

[mlir] use stable_sort for OperationLegalizer::computeOpLegalizationDepth
ClosedPublic

Authored by python3kgae on Jan 19 2023, 6:23 AM.

Details

Summary

For https://github.com/llvm/llvm-project/issues/60070.
llvm::array_pod_sort will cause non-determinism when select pattern.
It is exposed by difference between windows build and linux build.

Diff Detail