We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b162df commit ec10765Copy full SHA for ec10765
amd/comgr/src/comgr-compiler.cpp
@@ -877,11 +877,7 @@ amd_comgr_status_t AMDGPUCompiler::executeOutOfProcessHIPCompilation(
877
878
amd_comgr_status_t AMDGPUCompiler::processFile(const char *InputFilePath,
879
const char *OutputFilePath) {
880
- SmallVector<const char *, 128> Argv;
881
-
882
- for (auto &Arg : Args) {
883
- Argv.push_back(Arg);
884
- }
+ SmallVector<const char *, 128> Argv = Args;
885
886
for (auto &Option : ActionInfo->getOptions()) {
887
Argv.push_back(Option.c_str());
0 commit comments