[llvm] 7c8f754 - Fix failing tests after #86242 (#86572)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 14:23:27 PDT 2024


Author: Chris B
Date: 2024-03-25T16:23:23-05:00
New Revision: 7c8f7544560879dd7879657b0c0b245c00ed0158

URL: https://github.com/llvm/llvm-project/commit/7c8f7544560879dd7879657b0c0b245c00ed0158
DIFF: https://github.com/llvm/llvm-project/commit/7c8f7544560879dd7879657b0c0b245c00ed0158.diff

LOG: Fix failing tests after #86242 (#86572)

PR #86242 introduced a copy-paste error that caused some tests to fail
by mapping the wrong pass name to a pass. This resolves the issue and
fixes the failing tests.

Added: 
    

Modified: 
    llvm/lib/Target/DirectX/DirectXPassRegistry.def

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/DirectX/DirectXPassRegistry.def b/llvm/lib/Target/DirectX/DirectXPassRegistry.def
index bbf0c254bb697f..1b326d020d5114 100644
--- a/llvm/lib/Target/DirectX/DirectXPassRegistry.def
+++ b/llvm/lib/Target/DirectX/DirectXPassRegistry.def
@@ -24,6 +24,6 @@ MODULE_ANALYSIS("dxil-resource", DXILResourceAnalysis())
 #define MODULE_PASS(NAME, CREATE_PASS)
 #endif
 // TODO: rename to print<foo> after NPM switch
-MODULE_PASS("print-dx-shader-flags", DXILResourcePrinterPass(dbgs()))
+MODULE_PASS("print-dx-shader-flags", dxil::ShaderFlagsAnalysisPrinter(dbgs()))
 MODULE_PASS("print-dxil-resource", DXILResourcePrinterPass(dbgs()))
 #undef MODULE_PASS


        


More information about the llvm-commits mailing list