llvm-project/mlir/tools
Uday Bondhugula af5e83f569 [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
2020-04-16 00:32:34 +05:30
..
mlir-cpu-runner [MLIR] Do not link mlir-cpu-runner with X86 libs 2020-03-11 11:35:59 -07:00
mlir-cuda-runner Fix all-reduce int tests by host-registering memrefs. 2020-03-23 11:48:13 +01:00
mlir-linalg-ods-gen [mlir][NFC] Remove the STLExtras.h header file now that it has been merged into LLVM. 2020-04-14 15:14:41 -07:00
mlir-opt [MLIR] Introduce utility to hoist affine if/else conditions 2020-04-16 00:32:34 +05:30
mlir-shlib [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
mlir-tblgen [llvm][StringExtras] Merge StringExtras from MLIR into LLVM 2020-04-14 18:57:22 -07:00
mlir-translate [mlir][IR] Manually register command line options for MLIRContext and AsmPrinter 2020-04-11 23:13:00 -07:00
mlir-vulkan-runner [llvm][StringExtras] Merge StringExtras from MLIR into LLVM 2020-04-14 18:57:22 -07:00
CMakeLists.txt [mlir][Linalg] Create a tool to generate named Linalg ops from a Tensor Comprehensions-like specification. 2020-04-10 13:59:25 -04:00