diff options
author | rkayaith <rkayaith@gmail.com> | 2022-05-18 00:27:54 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2022-05-18 00:28:18 -0700 |
commit | ebad5fb309570765e8f121c441dcd90b5aa0536a (patch) | |
tree | 46465ce2707097be035094eef699e407edaaa96c /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 17e2e7b7885c0afe688bcd4d6b198aab6ea8f58a (diff) | |
download | llvm-ebad5fb309570765e8f121c441dcd90b5aa0536a.zip llvm-ebad5fb309570765e8f121c441dcd90b5aa0536a.tar.gz llvm-ebad5fb309570765e8f121c441dcd90b5aa0536a.tar.bz2 |
[mlir][Canonicalize] Fix command-line options
The canonicalize command-line options currently have no effect, as the pass is
reading the pass options in its constructor, before they're actually
initialized. This results in the default values of the options always being used.
The change here moves the initialization of the `GreedyRewriteConfig` out of the
constructor, so that it runs after the pass options have been parsed.
Fixes #55466
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D125621
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions