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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to