[lld] [llvm] [LTO][lld] Emit textual assembly code with '--save-temps=asm' (PR #195922)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 07:54:48 PDT 2026


jhuber6 wrote:

I'm hoping this can make progress, it's an issue a lot of clients have highlighted when using AMD offloading. The current status is that we *optionally* emit assembly. This path goes through the intermediate with an ASMParser so it's truly the temporary file. It's not ideal, but as far as I am aware I do not think there is a way to get both a `.s` and a `.o` in the same operation.
```
.bc -> .s -> .o
```

https://github.com/llvm/llvm-project/pull/195922


More information about the llvm-commits mailing list