PR #19067: [XLA:CPU][oneDNN] Move simplification pass before oneDNN pass #96617
+53
−29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #19067: [XLA:CPU][oneDNN] Move simplification pass before oneDNN pass
Imported from GitHub PR openxla/xla#19067
This PR moves the simplification pass before oneDNN rewriter pass which simplifies the pattern matching for quantization support by getting rid of redundant copy ops.
Copybara import of the project:
--
57f2f3b3e5a850ff264450af5a8bc796062cc8c6 by Mahmoud Abuzaina mahmoud.abuzaina@intel.com:
Move simplification pass before oneDNN pass
--
5248e332594414e71533154a63ea03145f533e4a by Mahmoud Abuzaina mahmoud.abuzaina@intel.com:
Added a unit test
Merging this change closes #19067
FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19067 from Intel-tensorflow:mabuzain/reorder-passes 1bfa7e68d89bd0a8e90eab966cb43e404f038a5b