[all-commits] [llvm/llvm-project] 83af66: new altera ID dependent backward branch check

Frank Derry Wanye via All-commits all-commits at lists.llvm.org
Thu May 6 14:02:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83af66e18e3d3760d56ea7e3bdbff3428ae7730d
      https://github.com/llvm/llvm-project/commit/83af66e18e3d3760d56ea7e3bdbff3428ae7730d
  Author: Frank Derry Wanye <wanyef at mail.gvsu.edu>
  Date:   2021-05-06 (Thu, 06 May 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/IdDependentBackwardBranchCheck.cpp
    A clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/altera-id-dependent-backward-branch.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/altera-id-dependent-backward-branch.cpp

  Log Message:
  -----------
  new altera ID dependent backward branch 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 ID dependent backward branch lint check finds ID dependent
variables and fields used within loops, and warns of their usage. Using
these variables in loops can lead to performance degradation.




More information about the All-commits mailing list