Skip to content

Commit 8260a62

Browse files
aus-inteligcbot
authored andcommitted
Remove debug llvm options parsing in VC
The same effect can be achieved with IGC_VCInternalOptions and -llvm-options internal option.
1 parent 5b7561a commit 8260a62

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

IGC/VectorCompiler/lib/Driver/Driver.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -403,14 +403,6 @@ Expected<vc::CompileOutput> vc::Compile(ArrayRef<char> Input,
403403
const vc::ExternalData &ExtData,
404404
ArrayRef<uint32_t> SpecConstIds,
405405
ArrayRef<uint64_t> SpecConstValues) {
406-
// Environment variable for additional options for debug purposes.
407-
// This will exit with error if options is incorrect and should not
408-
// be used to pass meaningful options required for compilation.
409-
#ifndef NDEBUG
410-
constexpr const char *DebugEnvVarName = "IGC_VCCodeGenDebugOpts";
411-
cl::ParseEnvironmentOptions("vc-codegen", DebugEnvVarName);
412-
#endif
413-
414406
if (Opts.DumpIR && Opts.Dumper)
415407
Opts.Dumper->dumpBinary(Input, "input.spv");
416408

0 commit comments

Comments
 (0)