Displaying 5 results from an estimated 5 matches for "set_cc".
2008 Sep 12
2
[LLVMdev] Selection Condition Codes
...MachineOperand TrueVal = MI->getOperand(1);
MachineOperand FalseVal = MI->getOperand(2);
MachineOperand CCFlag = MI->getOperand(3);
CC = (INSTCC::CondCodes)MI->getOperand(3).getImm();
// Here I want to get the destination register
of SET_CC instruction and place it as the first addReg
TODO(Get setcc destination register);
BuildMI(BB,
TII.get(INST::CMOVLOG_32),Dst.getReg()).addReg(CCFlag.getImm()).addReg(T
rueVal.getReg()).addReg(FalseVal.getReg());
}
break;
case INST::SET...
2006 Dec 13
1
[LLVMdev] problems with the legalizer
I have hit a extreme case during a bootstrap. The DAG combiner canonicalizes
<= 65536
into
< 65537
The problem is that 65536 can de represented inline in a ARM
instruction and 65537 cannot.
I am considering changing the code that creates ARMCMP when lowering
br_cc and set_cc nodes. Does anyone has a better solution?
Best Regards,
Rafael
2008 Sep 12
0
[LLVMdev] Selection Condition Codes
On Thu, Sep 11, 2008 at 6:14 PM, Villmow, Micah <Micah.Villmow at amd.com> wrote:
> I am attempting to lower the selectCC instruction to the instruction set of
> the backend I'm working on and I cannot seem to find a way to correctly
> implement this instruction. I know how this instruction should get
> implemented; I just have yet to find a way to do it. I want the select_cc
2008 Sep 12
2
[LLVMdev] Selection Condition Codes
I am attempting to lower the selectCC instruction to the instruction set
of the backend I'm working on and I cannot seem to find a way to
correctly implement this instruction. I know how this instruction should
get implemented; I just have yet to find a way to do it. I want the
select_cc instruction to be lowered into a comparison followed by a
conditional move. I've attempted to use a
2015 Nov 20
4
[GlobalISel] A Proposal for global instruction selection
> On Nov 19, 2015, at 4:58 PM, Eric Christopher <echristo at gmail.com> wrote:
>
>
>
> On Thu, Nov 19, 2015 at 2:26 PM Quentin Colombet <qcolombet at apple.com <mailto:qcolombet at apple.com>> wrote:
> Hi Eric,
>
>
>> On Nov 19, 2015, at 12:46 PM, Eric Christopher <echristo at gmail.com <mailto:echristo at gmail.com>> wrote:
>>