diff options
author | Jakub Kuderski <kubak@google.com> | 2022-11-28 14:24:04 -0500 |
---|---|---|
committer | Jakub Kuderski <kubak@google.com> | 2022-11-28 14:25:28 -0500 |
commit | f0fe38035c92bae9ccc827097ab55b37e2427a29 (patch) | |
tree | 31c94b24cb1e24f4255ccb45b9873d5a58519887 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | ad386a886b16ad83a982c0eff3f80d8ae8888882 (diff) | |
download | llvm-f0fe38035c92bae9ccc827097ab55b37e2427a29.zip llvm-f0fe38035c92bae9ccc827097ab55b37e2427a29.tar.gz llvm-f0fe38035c92bae9ccc827097ab55b37e2427a29.tar.bz2 |
[mlir][vector] Add fold pattern to constant-fold InsertStridedSliceOp
Fold InsertStridedOp(ConstantOp into ConstantOp) -> ConstantOp.
This pattern comes with vector size threshold to make sure we do not
introduce too many large constants.
This help clean up code created by the Wide Integer Emulation pass.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D138739
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions