[llvm] 8f0cd7c - [NFC][DirectX backend] Update header to fix build error.

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 17:36:58 PST 2022


Author: Xiang Li
Date: 2022-11-22T17:36:43-08:00
New Revision: 8f0cd7c1d0af6484eb75369a231408649bb0ce88

URL: https://github.com/llvm/llvm-project/commit/8f0cd7c1d0af6484eb75369a231408649bb0ce88
DIFF: https://github.com/llvm/llvm-project/commit/8f0cd7c1d0af6484eb75369a231408649bb0ce88.diff

LOG: [NFC][DirectX backend] Update header to fix build error.

Fix build error caused by createPrintModulePass moving to diffrent
header.

Added: 
    

Modified: 
    llvm/lib/Target/DirectX/DirectXTargetMachine.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp b/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
index 50daa9994ec23..7031b66c9668f 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"


        


More information about the llvm-commits mailing list