================
@@ -268,13 +356,10 @@ class DXILPrettyPrinterLegacy : public llvm::ModulePass {
 
   explicit DXILPrettyPrinterLegacy(raw_ostream &O) : ModulePass(ID), OS(O) {}
 
-  StringRef getPassName() const override {
-    return "DXIL Metadata Pretty Printer";
-  }
+  StringRef getPassName() const override { return "DXIL Pretty Printer"; }
 
   bool runOnModule(Module &M) override;
   void getAnalysisUsage(AnalysisUsage &AU) const override {
-    AU.setPreservesAll();
----------------
hvdijk wrote:

We run `DXILDebugInfoPass::run(M)` now, which modifies the module.

https://github.com/llvm/llvm-project/pull/198318
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to