jhuber6 added a comment. In D141717#4053164 <https://reviews.llvm.org/D141717#4053164>, @tra wrote:
>> 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`. Might work, I'll see how difficult it is to override the phases. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141717/new/ https://reviews.llvm.org/D141717 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits