[PATCH] D141717: [Clang] Only emit textual LLVM-IR in device only mode
Johannes Doerfert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 09:58:25 PST 2023
jdoerfert added a comment.
In D141717#4056971 <https://reviews.llvm.org/D141717#4056971>, @yaxunl wrote:
> The intention of -emit-llvm -S is usually to get LLVM assembly for all targets for inspection or modification. HIP emits a bundled LLVM assembly in textual format in this case. Users can modify it directly, or extract assembly for each device and bundle them together again. The modified file can then be passed on to the next compilation stage.
If you already unboundle, manually or automatically, you can also run llvm-dis. Embedded text is really not that helpful, IMHO.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141717/new/
https://reviews.llvm.org/D141717
More information about the cfe-commits
mailing list