From 8f0cd7c1d0af6484eb75369a231408649bb0ce88 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Tue, 22 Nov 2022 17:34:45 -0800 Subject: [PATCH] [NFC][DirectX backend] Update header to fix build error. Fix build error caused by createPrintModulePass moving to diffrent header. --- llvm/lib/Target/DirectX/DirectXTargetMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp b/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp index 50daa99..7031b66 100644 --- a/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp +++ b/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp @@ -22,7 +22,7 @@ #include "llvm/CodeGen/MachineModuleInfo.h" #include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/TargetPassConfig.h" -#include "llvm/IRPrinter/IRPrintingPasses.h" +#include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/MC/MCSectionDXContainer.h" #include "llvm/MC/SectionKind.h" -- 2.7.4