aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2022-08-25 02:06:47 +0530
committerUday Bondhugula <uday@polymagelabs.com>2022-08-25 02:56:31 +0530
commit26fedf92c3122ff51fb27f434a8c5b5a47da8f94 (patch)
treea48fbe12928c31cf13bb3e69c3eeca8e82d8ff6a /clang/lib/Frontend/CompilerInstance.cpp
parentf01208781fd72fca2c49c24c651bf0ce3bc0fb3e (diff)
downloadllvm-26fedf92c3122ff51fb27f434a8c5b5a47da8f94.zip
llvm-26fedf92c3122ff51fb27f434a8c5b5a47da8f94.tar.gz
llvm-26fedf92c3122ff51fb27f434a8c5b5a47da8f94.tar.bz2
[MLIR] Generalize/complete getEnclosingAffineForIfOps utility
Rename/generalize getEnclosingAffineForIfOps -> getEnclosingAffineOps. The utility was originally written only for affine.for ops and then extended for affine.if as well. It wasn't however updated when affine.parallel was introduced -- in most cases, analysis has been used in the presence of affine.for/if but not post parallelization. Extend utility to also support affine.parallel ops; this allows future changes to enable affine analysis and opts in the presence of affine.parallel ops. Fix related stale comments. This is NFC for all use cases in tree. Change an associated assert to a utility failure. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D132326
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions