[PATCH] D138432: [DirectX] Fix build after 7059a6c32cfad8f272fad47265e3890cd7a1a7e1

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 09:43:50 PST 2022


alexander-shaposhnikov accepted this revision.
alexander-shaposhnikov added a comment.
This revision is now accepted and ready to land.

Thanks for the fix, 
if i understand correctly this is yet another place that uses the legacy pass manager and createPrintModulePass(....) - right ?



================
Comment at: llvm/lib/Target/DirectX/DirectXTargetMachine.cpp:27
 #include "llvm/IR/LegacyPassManager.h"
+#include "llvm/IRPrinter/IRPrintingPasses.h"
 #include "llvm/MC/MCSectionDXContainer.h"
----------------
nit: can this include be removed ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138432/new/

https://reviews.llvm.org/D138432



More information about the llvm-commits mailing list