[all-commits] [llvm/llvm-project] 5a87f8: new altera unroll loops check

Frank Derry Wanye via All-commits all-commits at lists.llvm.org
Mon Mar 22 10:10:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a87f81fe9aee996dfe3a84dd833f0a48e093e7f
      https://github.com/llvm/llvm-project/commit/5a87f81fe9aee996dfe3a84dd833f0a48e093e7f
  Author: Frank Derry Wanye <wanyef at mail.gvsu.edu>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp
    M clang-tools-extra/clang-tidy/altera/CMakeLists.txt
    A clang-tools-extra/clang-tidy/altera/UnrollLoopsCheck.cpp
    A clang-tools-extra/clang-tidy/altera/UnrollLoopsCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/altera-unroll-loops.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/altera-unroll-loops.cpp

  Log Message:
  -----------
  new altera unroll loops check

This lint check is a part of the FLOCL (FPGA Linters for OpenCL)
project out of the Synergy Lab at Virginia Tech.

FLOCL is a set of lint checks aimed at FPGA developers who write code
in OpenCL.

The altera unroll loops check finds inner loops that have not been
unrolled, as well as fully-unrolled loops that should be partially
unrolled due to unknown loop bounds or a large number of loop
iterations.

Based on the Altera SDK for OpenCL: Best Practices Guide.




More information about the All-commits mailing list