search for: vectorcompare2

Displaying 1 result from an estimated 1 matches for "vectorcompare2".

Did you mean: vectorcompare3
2008 Dec 25
2
[LLVMdev] vector compare
...%2, 0 ret i1 %3 } This fails with: ssertion failed: (VT.getSizeInBits() == Operand.getValueType().getSizeInBits() && "Cannot BIT_CONVERT between types of different sizes!"), function getNode, file SelectionDAG.cpp, line 2218. Approach 2 ---------------- define i1 @VectorCompare2(<4 x i32> %x, <4 x i32> %y) { %1 = icmp eq <4 x i32> %x, %y %2 = extractelement <4 x i1> %1, i32 0 %3 = extractelement <4 x i1> %1, i32 1 %4 = extractelement <4 x i1> %1, i32 2 %5 = extractelement <4 x i1> %1, i32 3 %6 = or i1...