[all-commits] [llvm/llvm-project] 12a1f1: [Pragma] Added support for GCC unroll/nounroll
Dávid Bolvanský via All-commits
all-commits at lists.llvm.org
Sat Apr 17 08:30:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12a1f1d9d7e4f7ce416d0602d18991973986dfb5
https://github.com/llvm/llvm-project/commit/12a1f1d9d7e4f7ce416d0602d18991973986dfb5
Author: Dávid Bolvanský <david.bolvansky at gmail.com>
Date: 2021-04-17 (Sat, 17 Apr 2021)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Parse/ParsePragma.cpp
A clang/test/CodeGenCXX/pragma-gcc-unroll.cpp
Log Message:
-----------
[Pragma] Added support for GCC unroll/nounroll
GCC 8 introduced these new pragmas to control loop unrolling. We should support them for compatibility reasons and the implementation itself requires few lines of code, since everything needed is already implemented for #pragma unroll/nounroll.
More information about the All-commits
mailing list