[Clang/AMDGPU] Zero sized arrays not allowed in HIP device code. (#113470)
[llvm-project.git] / llvm / lib / Target / Hexagon / HexagonPassRegistry.def
blob4f58ae6193e05b7866cb9a99c407bffcc7277f43
1 //===- HexagonPassRegistry.def - Registry of Hexagon passes -----*- C++--*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is used as the registry of passes that are part of the
10 // Hexagon backend.
12 //===----------------------------------------------------------------------===//
14 // NOTE: NO INCLUDE GUARD DESIRED!
16 #ifndef LOOP_PASS
17 #define LOOP_PASS(NAME, CREATE_PASS)
18 #endif
19 LOOP_PASS("hexagon-loop-idiom", HexagonLoopIdiomRecognitionPass())
20 LOOP_PASS("hexagon-vlcr", HexagonVectorLoopCarriedReusePass())
21 #undef LOOP_PASS