forked from OSchip/llvm-project
47034c4bc5
Introduce affine.prefetch: op to prefetch using a multi-dimensional subscript on a memref; similar to affine.load but has no effect on semantics, but only on performance. Provide lowering through std.prefetch, llvm.prefetch and map to llvm's prefetch instrinsic. All attributes reflected through the lowering - locality hint, rw, and instr/data cache. affine.prefetch %0[%i, %j + 5], false, 3, true : memref<400x400xi32> Signed-off-by: Uday Bondhugula <uday@polymagelabs.com> Closes tensorflow/mlir#225 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/225 from bondhugula:prefetch 4c3b4e93bc64d9a5719504e6d6e1657818a2ead0 PiperOrigin-RevId: 286212997 |
||
---|---|---|
.. | ||
Analysis | ||
Conversion | ||
Dialect | ||
EDSC | ||
ExecutionEngine | ||
IR | ||
Parser | ||
Pass | ||
Quantizer | ||
Support | ||
TableGen | ||
Target | ||
Transforms | ||
Translation | ||
CMakeLists.txt |