Displaying 2 results from an estimated 2 matches for "wcmp".
Did you mean:
cmp
2008 Dec 30
2
[LLVMdev] Folding vector instructions
...vec2[1],
name("sely"));
Value *zcmp = m_builder.CreateFCmpOLT(vec1[2], vec2[2], name("zcmp"));
Value *selz = m_builder.CreateSelect(zcmp, vec1[2], vec2[2],
name("selz"));
Value *wcmp = m_builder.CreateFCmpOLT(vec1[3], vec2[3], name("wcmp"));
Value *selw = m_builder.CreateSelect(wcmp, vec1[3], vec2[3],
name("selw"));
return vectorFromVals(selx, sely, selz, selw); // generate LLVM
'insert-element'
}
</c...
2008 Dec 30
2
[LLVMdev] [Mesa3d-dev] Folding vector instructions
...name("sely"));
>
> Value *zcmp = m_builder.CreateFCmpOLT(vec1[2], vec2[2], name("zcmp"));
> Value *selz = m_builder.CreateSelect(zcmp, vec1[2], vec2[2],
> name("selz"));
>
> Value *wcmp = m_builder.CreateFCmpOLT(vec1[3], vec2[3], name("wcmp"));
> Value *selw = m_builder.CreateSelect(wcmp, vec1[3], vec2[3],
> name("selw"));
> return vectorFromVals(selx, sely, selz, selw); // generate LLVM
> 'insert-e...