Given the following kernel:
__kernel void foo()
{
double d; double4 dd;
}
and cl_khr_fp64 disabled, the compilation would fail due to
the presence of 'double d', but when removed, it passes.
The expectation is that extended vector types of unsupported types
will also be unsupported.
The patch adds the check for this scenario.
It would be better to undo this formatting change. Clang code base seems to be inconsistent on that anyway.