diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2023-12-14 11:22:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-14 11:22:23 -0500 |
| commit | 34f04a4670f86e64d4b35ce720281a6f0e72f733 (patch) | |
| tree | 1412d263c20dd72c05e7053ae18c8a9615d91e69 | |
| parent | 7e7d9ce142c3ef077743496cbf8cdc8f669a66af (diff) | |
Looks like `#3327` left in some debugging code. (#3411)
| -rw-r--r-- | source/slang/slang-emit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 0e71f50d4..684943ef3 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -401,14 +401,14 @@ Result linkAndOptimizeIR( for (;;) { bool changed = false; - auto b1 = dumpIRToString(irModule->getModuleInst()); + //auto b1 = dumpIRToString(irModule->getModuleInst()); dumpIRIfEnabled(codeGenContext, irModule, "BEFORE-SPECIALIZE"); if (!codeGenContext->isSpecializationDisabled()) changed |= specializeModule(irModule, codeGenContext->getSink()); if (codeGenContext->getSink()->getErrorCount() != 0) return SLANG_FAIL; dumpIRIfEnabled(codeGenContext, irModule, "AFTER-SPECIALIZE"); - auto b2 = dumpIRToString(irModule->getModuleInst()); + //auto b2 = dumpIRToString(irModule->getModuleInst()); applySparseConditionalConstantPropagation(irModule, codeGenContext->getSink()); eliminateDeadCode(irModule); |
