Binaries for multiple architectures are combined by fatbinary,
so the current code was effectively not needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
4659 ↗ | (On Diff #134903) | Nit: Passing multiple things as a single input may need some more details. |
lib/Frontend/CompilerInvocation.cpp | ||
1044–1045 ↗ | (On Diff #134903) | If more than one gpu binary is passed, all but last will be ignored. |
lib/Frontend/CompilerInvocation.cpp | ||
---|---|---|
1044–1045 ↗ | (On Diff #134903) | Well, -fcuda-include-gpubinary is only recognized on cc1. I think we can assume that we are correctly assembling our command line, can't we? (Nobody else checks the options here...) |
lib/Frontend/CompilerInvocation.cpp | ||
---|---|---|
1044–1045 ↗ | (On Diff #134903) | Fair enough. Assert, then? |
lib/Frontend/CompilerInvocation.cpp | ||
---|---|---|
1044–1045 ↗ | (On Diff #134903) | I added an assert in lib/Driver/ToolChains/Clang.cpp where we are constructing the command line. I think that guarantees that we are getting only a single argument. |