Changes from Git (git


  1. [clang-tidy] Fix linking for FrontendOpenMP (details)
  2. Add an option for unrolling loops up to a factor. (details)
Commit 71133e8b5bceaf68a2cee59af371df570a1aed79 by aheejin
[clang-tidy] Fix linking for FrontendOpenMP

Without this, builds with `-DBUILD_SHARED_LIBS=ON` fail.
The file was modifiedclang-tools-extra/clang-tidy/altera/CMakeLists.txt
Commit e2394245eb28695d5eed5d7c015e99141993c723 by Lubomir.Litchev
Add an option for unrolling loops up to a factor.

Currently, there is no option to allow for unrolling a loop up to a specific factor (specified by the user).
The code for doing that is there and there are benefits when unrolling is done  to smaller loops (smaller than the factor specified).

Reviewed By: bondhugula

Differential Revision:
The file was modifiedmlir/include/mlir/Dialect/Affine/
The file was modifiedmlir/test/Dialect/SCF/loop-unroll.mlir
The file was modifiedmlir/include/mlir/Dialect/Affine/Passes.h
The file was modifiedmlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopUnrolling.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp