aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/FileCheckTest.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-05-25 18:55:41 +0200
committerAlex Zinenko <zinenko@google.com>2020-05-27 16:12:58 +0200
commitcadb7ccf2cebcaa2d546db77223bde3d69a162af (patch)
tree76bdfd7f83aa5db4796da9fac6ddb409772ad69c /llvm/unittests/Support/FileCheckTest.cpp
parent5ee902bb5f3a843230f45dcd7b8101de71da7c83 (diff)
downloadllvm-cadb7ccf2cebcaa2d546db77223bde3d69a162af.zip
llvm-cadb7ccf2cebcaa2d546db77223bde3d69a162af.tar.gz
llvm-cadb7ccf2cebcaa2d546db77223bde3d69a162af.tar.bz2
[mlir] SCF: provide function_ref builders for IfOp
Now that OpBuilder is available in `build` functions, it becomes possible to populate the "then" and "else" regions directly when building the "if" operation. This is desirable in more structured forms of builders, especially in when conditionals are mixed with loops. Provide new `build` APIs taking callbacks for body constructors, similarly to scf::ForOp, and replace more clunky edsc::BlockBuilder uses with these. The original APIs remain available and go through the new implementation. Differential Revision: https://reviews.llvm.org/D80527
Diffstat (limited to 'llvm/unittests/Support/FileCheckTest.cpp')
0 files changed, 0 insertions, 0 deletions