Displaying 1 result from an estimated 1 matches for "csr_64_intel_ocl_bi_regmask".
2014 Mar 13
3
[LLVMdev] Possible bug in getCallPreservedMask for CallingConv::Intel_OCL_BI
...return CSR_64_Intel_OCL_BI_AVX512_RegMask;
if (IsWin64 && HasAVX)
return CSR_Win64_Intel_OCL_BI_AVX_RegMask;
if (Is64Bit && HasAVX)
return CSR_64_Intel_OCL_BI_AVX_RegMask;
if (!HasAVX && !IsWin64 && Is64Bit)
return CSR_64_Intel_OCL_BI_RegMask;
// Missing break/return?
}
It _may_ be intentional - it falls through to the Cold calling
convention and then general C convention, but it really looks suspicious.
If it is intentional, please add an explicit note about the desired fall
through behaviour. I found this by inserting a n...