Displaying 5 results from an estimated 5 matches for "intrinsicsmips".
2012 Jul 10
2
[LLVMdev] question about Type::canLoslesslyBitCastTo
...his is currently the definition. That canLoslesslyBitCastTo returns
false for bitcast of i32 to <2 x i16> is probably just an oversight. Please
feel free to send in a patch fixing it.
Ciao, Duncan.
>
>
> I am trying to change all vector types (v2i16 and v4i8) in
> include/llvm/IntrinsicsMips.td to i32, 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,...
2012 Jul 10
0
[LLVMdev] question about Type::canLoslesslyBitCastTo
...owing instruction
%dst = bitcast i32 %src to v2i16
is equivalent to the following sequence of instructions (which I think is
lossless)?
store i32 %src, i32* %ptr
%ptr2 = bitcast i32* %ptr to v2i16*
%dst = load v2i16* %ptr2
I am trying to change all vector types (v2i16 and v4i8) in
include/llvm/IntrinsicsMips.td to i32, 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
CodeGenFu...
2020 Sep 29
3
TableGen processing of target-specific intrinsics
...lude "llvm/IR/IntrinsicsX86.td"
include "llvm/IR/IntrinsicsARM.td"
include "llvm/IR/IntrinsicsAArch64.td"
include "llvm/IR/IntrinsicsXCore.td"
include "llvm/IR/IntrinsicsHexagon.td"
include "llvm/IR/IntrinsicsNVVM.td"
include "llvm/IR/IntrinsicsMips.td"
include "llvm/IR/IntrinsicsAMDGPU.td"
include "llvm/IR/IntrinsicsBPF.td"
include "llvm/IR/IntrinsicsSystemZ.td"
include "llvm/IR/IntrinsicsWebAssembly.td"
include "llvm/IR/IntrinsicsRISCV.td"
Why does every target include the all the instr...
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
...slyBitCastTo returns
> false for bitcast of i32 to <2 x i16> is probably just an oversight.
> Please
> feel free to send in a patch fixing it.
>
> Ciao, Duncan.
>
> >
> >
> > I am trying to change all vector types (v2i16 and v4i8) in
> > include/llvm/IntrinsicsMips.td to i32, 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.
> >...