llvm-project
2bf58f5d - [Clang] Suppress missing architecture error when doing LTO (#100652)

Commit
1 year ago
[Clang] Suppress missing architecture error when doing LTO (#100652) Summary: The `nvlink-wrapper` can do LTO now, which means we can still create some LLVM-IR without needing an architecture. In the case that we try to invoke `nvlink` internally, that will still fail. This patch simply defers the error until later so we can use `--lto-emit-llvm` to get the IR without specifying an architecture.
Author
Parents
Loading