search for: emitmipsbuiltinexpr

Displaying 4 results from an estimated 4 matches for "emitmipsbuiltinexpr".

2012 Jul 10
2
[LLVMdev] question about Type::canLoslesslyBitCastTo
...hat because the code 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 > <mailto:ahatanak at gmail.com>> wrote: > > Type::canLoslesslyBitCastTo(Type *Ty) i...
2012 Jul 10
0
[LLVMdev] question about Type::canLoslesslyBitCastTo
...32, but I can't do that because the code 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...
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
...nFunction::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: > > > &gt...