Displaying 3 results from an estimated 3 matches for "getsignedvectortyp".
Did you mean:
getsignedvectortype
2013 Oct 02
2
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...osed to result in the a 'signed' integer vector result.
'char' is always troublesome, though in C++ it is a discrete type. I made
the following change in my copy (clang-3.3) that I think is a correct and
valid change:
File: tools/clang/lib/Sema/SemaChecking.cpp
Function: Sema::GetSignedVectorType()
Replace the fragment:
if (TypeSize == Context.getTypeSize(Context.CharTy))
return Context.getExtVectorType(Context.CharTy,
VTy->getNumElements());
^^^^^^
with:
if (TypeSize == Context.getTypeSize(Context.CharTy))
return Context.getExtVector...
2013 Oct 02
0
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...' integer vector result.
>
> 'char' is always troublesome, though in C++ it is a discrete type. I made
> the following change in my copy (clang-3.3) that I think is a correct and
> valid change:
>
> File: tools/clang/lib/Sema/SemaChecking.cpp
> Function: Sema::GetSignedVectorType()
>
> Replace the fragment:
>
> if (TypeSize == Context.getTypeSize(Context.CharTy))
> return Context.getExtVectorType(Context.CharTy,
> VTy->getNumElements());
> ^^^^^^
> with:
> if (TypeSize == Context.getTypeSize(Co...
2013 Oct 02
0
[LLVMdev] [CLang] Comparing vector types - invalid error and proposed fix
...osed to result in the a 'signed' integer vector result.
'char' is always troublesome, though in C++ it is a discrete type. I made
the following change in my copy (clang-3.3) that I think is a correct and
valid change:
File: tools/clang/lib/Sema/SemaChecking.cpp
Function: Sema::GetSignedVectorType()
Replace the fragment:
if (TypeSize == Context.getTypeSize(Context.CharTy))
return Context.getExtVectorType(Context.CharTy,
VTy->getNumElements());
^^^^^^
with:
if (TypeSize == Context.getTypeSize(Context.CharTy))
return Context.getExtVector...