diff options
author | Alex Zinenko <zinenko@google.com> | 2022-01-06 23:29:52 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2022-01-07 09:56:03 +0100 |
commit | 43ff4a6d5562099d9a34ef6bb567912ef5ce923e (patch) | |
tree | 5c0417ced0824a9371009b423035cc2627aa3b81 /clang/unittests/Format/FormatTestJava.cpp | |
parent | cafaa3503643c047b670dcc387e22096930d2d6c (diff) | |
download | llvm-43ff4a6d5562099d9a34ef6bb567912ef5ce923e.zip llvm-43ff4a6d5562099d9a34ef6bb567912ef5ce923e.tar.gz llvm-43ff4a6d5562099d9a34ef6bb567912ef5ce923e.tar.bz2 |
[mlir] Add ConstantLike trait to LLVM::ConstantOp
This make LLVM dialect constants to work with `m_constant` matches. Implement
the folding hook for this operation as required by the trait. This in turn
allows LLVM::ConstantOp to properly participate in constant-folding.
Depends On D116757
Reviewed By: wsmoses
Differential Revision: https://reviews.llvm.org/D116758
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions