Skip to content

Commit 7a1ae56

Browse files
committed
Fix failing tests after llvm#86242
PR llvm#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.
1 parent 9056ce8 commit 7a1ae56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/DirectX/DirectXPassRegistry.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ MODULE_ANALYSIS("dxil-resource", DXILResourceAnalysis())
2424
#define MODULE_PASS(NAME, CREATE_PASS)
2525
#endif
2626
// TODO: rename to print<foo> after NPM switch
27-
MODULE_PASS("print-dx-shader-flags", DXILResourcePrinterPass(dbgs()))
27+
MODULE_PASS("print-dx-shader-flags", dxil::ShaderFlagsAnalysisPrinter(dbgs()))
2828
MODULE_PASS("print-dxil-resource", DXILResourcePrinterPass(dbgs()))
2929
#undef MODULE_PASS

0 commit comments

Comments
 (0)