A TargetExtTy ( target("dx.RawBuffer", <4 x float>, 0, 0)) makes it into the DXILBitcodeWriter. See for the error: https://godbolt.org/z/zT4coTbhW Minimized: https://godbolt.org/z/zY9nEh51h