search for: getlastrealoperand

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

2011 Sep 26
1
[LLVMdev] distinguishing between real arguments and variable arguments
...do this without hardcoding this information away from the TD file which is error prone. Architectures evolve and you can get new call instructions and then have a subtle delay slot bug. Any suggestions on how to fix LLVM so that we can get the non variable operands? In Mblaze: static unsigned getLastRealOperand(MachineBasicBlock::iterator &instr) { switch (instr->getOpcode()) { default: return instr->getNumOperands(); // These instructions have a variable number of operands but the first two // are the "real" operands that we care about during hazard detection. case MB...