search for: splitvectoroperand

Displaying 5 results from an estimated 5 matches for "splitvectoroperand".

2011 Oct 19
2
[LLVMdev] Error when cond of select instruction is a vector
...alue based on a condition, without branching. If the condition is a vector of i1, then the value arguments must be vectors of the same size, and the selection is done element by element. However when I create a program use vector of il as the type of condition. The back-end fails and complains: *SplitVectorOperand Op #0: 0x2b75370: f32 = select 0x2b6c800, 0x2b75270, 0x2b75170 [ID=0] Do not know how to split this operator's operand!* The following program is a valid IR which passed by the checker. However the back-end fails on all the targets I've tested, including x86, mips and sparc. Is it a targe...
2018 Feb 02
1
Vector Splitting for Stackmap Operands
...g stackmap. In my stackmap, I record all the live values existing at the callsite. One of the operands in my stackmap is an illegal vector type for arm64 architecture ( *v4f64*) and requires vector splitting in order to legalize the node ( *v2f64*). However, I noticed that in the *DAGTypeLegalizer::SplitVectorOperand* function, the switch case does not handle stackmap cases. So initially every time I run my code with *-mllvm -debug-only=legalize_types* I will get an error " Do not know how to split this operator's operand" My first attempt to fix this is to add an if statment before the swi...
2011 Oct 19
0
[LLVMdev] Error when cond of select instruction is a vector
...value based on a condition, without branching. If the condition is a vector of i1, then the value arguments must be vectors of the same size, and the selection is done element by element. However when I create a program use vector of il as the type of condition. The back-end fails and complains: SplitVectorOperand Op #0: 0x2b75370: f32 = select 0x2b6c800, 0x2b75270, 0x2b75170 [ID=0] Do not know how to split this operator's operand! The following program is a valid IR which passed by the checker. However the back-end fails on all the targets I've tested, including x86, mips and sparc. Is it a target...
2011 Oct 19
1
[LLVMdev] Error when cond of select instruction is a vector
...*** > > > If the condition is a vector of i1, then the value arguments must be > vectors of the same size, and the selection is done element by element. > > However when I create a program use vector of il as the type of condition. > The back-end fails and complains: > > *SplitVectorOperand Op #0: 0x2b75370: f32 = select 0x2b6c800, 0x2b75270, > 0x2b75170 [ID=0] > > Do not know how to split this operator's operand!* > > The following program is a valid IR which passed by the checker. However > the back-end fails on all the targets I've tested, including x86, m...
2018 Feb 03
2
llvm-dev Digest, Vol 164, Issue 6
...ackmap, I record all the live values existing at the callsite. One of the > operands in my stackmap is an illegal vector type for arm64 architecture ( > *v4f64*) and requires vector splitting in order to legalize the node ( > *v2f64*). However, I noticed that in the > *DAGTypeLegalizer::SplitVectorOperand* function, the switch case does not > handle stackmap cases. So initially every time I run my code with > > *-mllvm -debug-only=legalize_types* > > I will get an error " Do not know how to split this operator's operand" > > My first attempt to fix this is to a...