AMDGPU: Register a null MC streamer for -emit-codegen-only
For some reason null is a valid MC target, used from clang with -emit-codegen-only. Previously the target streamer was null, which was inconsistently null checked resulting in crashes if using amdhsa.
Loading
Please sign in to comment