[llvm] [DirectX] Get resource information via TargetExtType (PR #119772)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 15:04:13 PST 2024


================
@@ -11,19 +11,192 @@
 
 #include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/StringRef.h"
+#include "llvm/IR/GlobalVariable.h"
 #include "llvm/IR/PassManager.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/Alignment.h"
 #include "llvm/Support/DXILABI.h"
 
 namespace llvm {
 class CallInst;
+class DataLayout;
 class LLVMContext;
 class MDTuple;
+class TargetExtType;
----------------
bogner wrote:

Good point. I've replaced this with an explicit include of DerivedTypes.h

https://github.com/llvm/llvm-project/pull/119772


More information about the llvm-commits mailing list