[PATCH] D38959: AMDGPU: Don't use TargetStreamer if it has not been initialized

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 14:43:51 PDT 2017


kzhuravl added a comment.

In https://reviews.llvm.org/D38959#899086, @arsenm wrote:

> I also don't understand why this would be necessary. How can the streamer not be available?


It seems like the TargetStreamer is not created if `-emit-codegen-only` option is passed to clang cc1. I have hit it last week here:
http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/43381/

I haven't had a chance to look at other targets yet. But will when I get a chance.


https://reviews.llvm.org/D38959





More information about the llvm-commits mailing list