search for: il_compare_instr

Displaying 3 results from an estimated 3 matches for "il_compare_instr".

2008 Sep 12
2
[LLVMdev] Selection Condition Codes
...->getOperand(0); MachineOperand LHS = MI->getOperand(1); MachineOperand RHS = MI->getOperand(2); // I want to get the CCFlag from the select_CC instruction // and place it in the TII.get() field. BuildMI(BB, TII.get(INST::IL_COMPARE_INSTR), Dst.getReg()).addReg(LHS.getReg()).addReg(RHS.getReg()); } default: }; Again, Thanks for any tips you might be able to share. Micah -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Eli Friedman Sent: Thurs...
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