diff options
| author | River Riddle <riddleriver@gmail.com> | 2022-04-06 18:52:39 -0700 |
|---|---|---|
| committer | River Riddle <riddleriver@gmail.com> | 2022-04-07 11:31:42 -0700 |
| commit | af371f9f98dab48b6374c182f3bc6a18e4faa5fb (patch) | |
| tree | d3f58b96b31bcc9e8a5d5c5b935e010d2f8d0d09 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | f004ecf6ec1d12fb6b57fc9033eeec7e892c9151 (diff) | |
Reland [GreedPatternRewriter] Preprocess constants while building worklist when not processing top down
Reland Note: Adds a fix to properly mark a commutative operation as folded if we change the order
of its operands. This was uncovered by the fact that we no longer re-process constants.
This avoids accidentally reversing the order of constants during successive
application, e.g. when running the canonicalizer. This helps reduce the number
of iterations, and also avoids unnecessary changes to input IR.
Fixes #51892
Differential Revision: https://reviews.llvm.org/D122692
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
