Displaying 4 results from an estimated 4 matches for "r159368".
2012 Jul 10
2
[LLVMdev] question about Type::canLoslesslyBitCastTo
...EmitBuiltinExpr (in clang/CGBuiltin.cpp) raises an assertion
> when it calls Type::canLoslesslyBitCastTo to check whether conversion between
> v2i16 (or v4i8) and i32 is legal.
>
> To work around this problem, I can put back CodeGenFunction::EmitMipsBuiltinExpr
> which was removed in r159368 and add code to do type conversions, but I prefer
> not to do this.
>
>
> On Mon, Jul 2, 2012 at 5:40 PM, Akira Hatanaka <ahatanak at gmail.com
> <mailto:ahatanak at gmail.com>> wrote:
>
> Type::canLoslesslyBitCastTo(Type *Ty) in lib/VMCore/Type.cpp always retur...
2012 Jul 10
0
[LLVMdev] question about Type::canLoslesslyBitCastTo
...ode
in CodeGenFunction::EmitBuiltinExpr (in clang/CGBuiltin.cpp) raises an
assertion when it calls Type::canLoslesslyBitCastTo to check whether
conversion between v2i16 (or v4i8) and i32 is legal.
To work around this problem, I can put back
CodeGenFunction::EmitMipsBuiltinExpr which was removed in r159368 and add
code to do type conversions, but I prefer not to do this.
On Mon, Jul 2, 2012 at 5:40 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Type::canLoslesslyBitCastTo(Type *Ty) in lib/VMCore/Type.cpp always
> returns false when it checks whether an integer can be bitcast to a...
2012 Jul 03
2
[LLVMdev] question about Type::canLoslesslyBitCastTo
Type::canLoslesslyBitCastTo(Type *Ty) in lib/VMCore/Type.cpp always returns
false when it checks whether an integer can be bitcast to a vector or vice
versa.
For example, (i32 => v2i16) or (v2i16 => i32) is false.
But it seems that it returns true if it is checking conversion between two
vector types which have the same size.
For example, (v4i8 => v2i16) would return true.
What is the
2012 Jul 16
0
[LLVMdev] question about Type::canLoslesslyBitCastTo
...raises an
> assertion
> > when it calls Type::canLoslesslyBitCastTo to check whether conversion
> between
> > v2i16 (or v4i8) and i32 is legal.
> >
> > To work around this problem, I can put back
> CodeGenFunction::EmitMipsBuiltinExpr
> > which was removed in r159368 and add code to do type conversions, but I
> prefer
> > not to do this.
> >
> >
> > On Mon, Jul 2, 2012 at 5:40 PM, Akira Hatanaka <ahatanak at gmail.com
> > <mailto:ahatanak at gmail.com>> wrote:
> >
> > Type::canLoslesslyBitCastTo(Type...