llvm-project/mlir/test
Uday Bondhugula 01d97a3549 [MLIR] Add support to use aligned_alloc to lower AllocOp from std to llvm
Support to recognize and deal with aligned_alloc was recently added to
LLVM's TLI/MemoryBuiltins and its various optimization passes. This
revision adds support for generation of aligned_alloc's when lowering
AllocOp from std to LLVM. Setting 'use-aligned_alloc=1' will lead to
aligned_alloc being used for all heap allocations. An alignment and size
that works with the constraints of aligned_alloc is chosen.

Using aligned_alloc is preferable to "using malloc and adjusting the
allocated pointer to align for indexing" because the pointer access
arithmetic done for the latter only makes it harder for LLVM passes to
deal with for analysis, optimization, attribute deduction, and rewrites.

Differential Revision: https://reviews.llvm.org/D77528
2020-04-08 15:10:19 +05:30
..
Analysis [mlir] Extended Dominance analysis with a function to find the nearest common dominator of two given blocks. 2020-03-27 14:55:40 +01:00
Conversion [MLIR] Add support to use aligned_alloc to lower AllocOp from std to llvm 2020-04-08 15:10:19 +05:30
Dialect [mlir][Linalg] Use subview instead of linalg.slice in Promotion.cpp 2020-04-07 23:52:31 -04:00
EDSC [mlir][Linalg] NFC - Rename Linalg and Vector EDSCs to avoid collisions 2020-04-02 21:09:49 -04:00
Examples [mlir][Tutorial] Make parsing an empty file print a better error. 2020-03-03 13:21:05 -08:00
IR [MLIR] Add missing colon after CHECKs. 2020-04-08 11:16:06 +02:00
Pass Refactor the way that pass options are specified. 2019-12-23 16:48:22 -08:00
SDBM [MLIR] Fixes for BUILD_SHARED_LIBS=on 2020-03-06 13:25:18 -08:00
Target [MLIR] Add missing colon after CHECKs. 2020-04-08 11:16:06 +02:00
Transforms [MLIR] Add missing colon after CHECKs. 2020-04-08 11:16:06 +02:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
mlir-cpu-runner [mlir][Linalg] Employ finer-grained control of C interface emission 2020-04-03 16:14:53 -04:00
mlir-cuda-runner Fix all-reduce int tests by host-registering memrefs. 2020-03-23 11:48:13 +01:00
mlir-opt Keep output file after successful execution of mlir-opt 2020-04-08 03:37:45 +00:00
mlir-tblgen [MLIR] Add missing colon after CHECKs. 2020-04-08 11:16:06 +02:00
mlir-vulkan-runner [mlir][vulkan-runner] Add support for 3D memrefs. 2020-04-03 15:10:40 +03:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt [MLIR] Add simple runner utilities for timing 2020-03-31 23:08:29 +05:30
lit.cfg.py [MLIR] Add simple runner utilities for timing 2020-03-31 23:08:29 +05:30
lit.site.cfg.py.in [MLIR] Add simple runner utilities for timing 2020-03-31 23:08:29 +05:30