Skip to content
Commit 7814b559 authored by rkayaith's avatar rkayaith Committed by River Riddle
Browse files

[GreedyPatternRewriter] Avoid reversing constant order

The previous fix from af371f9f only applied when using a bottom-up
traversal. The change here applies the constant preprocessing logic to the
top-down case as well. This resolves the issue with the canonicalizer pass still
reordering constants, since it uses a top-down traversal by default.

Fixes #51892

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D125623
parent e9a1c82d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment