Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
6144 | this does not work if you have multiple options, you may need something like // Get the last argument of -mwavefrontsize64 or -mno-wavefrontsize64. if (auto *WaveArg = Args.getLastArg(options::OPT_mwavefrontsize64, options::OPT_mno_wavefrontsize64)) { if (WaveArg->getOption().getID() == options::OPT_mwavefrontsize64) { } else { } } Also better extract this part as a function and call it in two places. |
clang/test/Driver/amdgpu-features-as.s | ||
---|---|---|
2 | Going along with Sam's request, can you add a test case for specifying multiple options? |
this does not work if you have multiple options, you may need something like
Also better extract this part as a function and call it in two places.