[PATCH] D141717: [Clang] Only emit textual LLVM-IR in device only mode
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 13 17:16:44 PST 2023
tra added a comment.
> So are you suggesting that we complete the whole pipeline? So -S -emit-llvm gives host IR, but the device will go all the way to object?
That would match my expectations and would solve the " it can't be handled by LTO or anything else." issue you've highlighted above. It will give us a valid output in the form user specified. I.e. you will be able to pass the IR further down the compilation pipeline. I.e. if we get it for the host compilation it should be the same IR we'd have captured if we we'd get it from `-save-temps`.
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