[llvm] [DirectX] Flatten arrays (PR #114332)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 09:25:45 PST 2024
================
@@ -0,0 +1,25 @@
+//===- DXILFlattenArrays.h - Perform flattening of DXIL Arrays -*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===---------------------------------------------------------------------===//
+
+#ifndef LLVM_TARGET_DIRECTX_DXILFLATTENARRAYS_H
+#define LLVM_TARGET_DIRECTX_DXILFLATTENARRAYS_H
+
+#include "DXILResource.h"
+#include "llvm/IR/PassManager.h"
+#include "llvm/Pass.h"
----------------
bogner wrote:
I think you only need `llvm/IR/PassManager.h` in the header here. `Pass.h` is for the legacy pass manager, and `DXILResource.h` is only used in the cpp file
https://github.com/llvm/llvm-project/pull/114332
More information about the llvm-commits
mailing list