Displaying 2 results from an estimated 2 matches for "cmpopcod".
Did you mean:
cmpopcode
2008 Nov 18
1
[LLVMdev] 32 bit boolean results
You can tell LLVM that you have "sign extended" setCC results (all
ones).
Dan
On Nov 18, 2008, at 5:33 PM, Eli Friedman wrote:
> On Tue, Nov 18, 2008 at 1:56 PM, Villmow, Micah
> <Micah.Villmow at amd.com> wrote:
>> The IR produces correct results, but my backend does not and the
>> only thing
>> I can think of is that the IR is treating the
2008 Sep 18
4
[LLVMdev] Custom Opcodes versus built-in opcodes
...CC(SDValue Op, SelectionDAG& DAG){
MVT VT = Op.getValueType();
SDValue Chain = Op.getOperand(0);
SDValue LHS = Op.getOperand(2);
SDValue RHS = Op.getOperand(3);
SDValue Jump = Op.getOperand(4);
bool logical_nz = getLogicalNZ(cmpOpcode);
SDValue CmpValue;
unsigned int brOpcode = CUSTOM::BRANCH_NZERO;
CmpValue = DAG.getNode(CUSTOM::CMP, LHS.getValueType(),
Chain, DAG.getConstant(cmpOpcode, MVT::i32), LHS, RHS);
return DAG.getNode(brOpcode, VT, Chain, Jump, CmpValue);
}
What...