aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2020-04-10 17:12:49 +0530
committerUday Bondhugula <uday@polymagelabs.com>2020-04-16 00:32:34 +0530
commitaf5e83f569819bab68a070ca59128651feefb7ef (patch)
treec53a2dc0a68402d86758c3c6c071d072ff0f2462 /clang/lib/CodeGen/CodeGenModule.h
parentcece7af58682a2122b108d7af270a31043ac1825 (diff)
downloadllvm-af5e83f569819bab68a070ca59128651feefb7ef.zip
llvm-af5e83f569819bab68a070ca59128651feefb7ef.tar.gz
llvm-af5e83f569819bab68a070ca59128651feefb7ef.tar.bz2
[MLIR] Introduce utility to hoist affine if/else conditions
This revision introduces a utility to unswitch affine.for/parallel loops by hoisting affine.if operations past surrounding affine.for/parallel. The hoisting works for both perfect/imperfect nests and in the presence of else blocks. The hoisting is currently to as outermost a level as possible. Uses a test pass to test the utility. Add convenience method Operation::getParentWithTrait<Trait>. Depends on D77487. Differential Revision: https://reviews.llvm.org/D77870
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions