search for: frameaddr

Displaying 9 results from an estimated 9 matches for "frameaddr".

2008 Sep 18
4
[LLVMdev] Custom Opcodes versus built-in opcodes
...ns and using custom opcodes that I can more easily directly map to my backend. These opcodes are then used to emit a custom set of instructions into the MachineBasicBlock. I've been able to get one to work correctly, however, I've ran into an issue where my second one is being confused as a FRAMEADDR opcode instead of my opcode. DValue InstTargetLowering::LowerBR_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...
2008 Sep 18
0
[LLVMdev] Custom Opcodes versus built-in opcodes
...opcodes that I can more > easily directly map to my backend. These opcodes are then used to emit a > custom set of instructions into the MachineBasicBlock. I've been able to get > one to work correctly, however, I've ran into an issue where my second one > is being confused as a FRAMEADDR opcode instead of my opcode. > [snip] > > What I want to happen is to take the branch w/ condition codes and convert > it into a comparison and then a branch based on the result to the BasicBlock > in the Jump SDValue. What I expect to occur after this function returns is > for th...
2008 Sep 19
0
[LLVMdev] Custom Opcodes versus built-in opcodes
...opcodes that I can > more easily directly map to my backend. These opcodes are then used > to emit a custom set of instructions into the MachineBasicBlock. > I’ve been able to get one to work correctly, however, I’ve ran into > an issue where my second one is being confused as a FRAMEADDR opcode > instead of my opcode. Make sure to use DAG.getTargetNode() with custom opcodes. "target" nodes are encoded with an implicit delta added to their enum value. -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org...
2011 Aug 21
1
[LLVMdev] Lying about being expanded?
Hi! I noticed in the LegalizeDAG.cpp (SelectionDAGLegalize::LegalizeOp): case ISD::INIT_TRAMPOLINE: case ISD::FRAMEADDR: case ISD::RETURNADDR: // These operations lie about being legal: when they claim to be legal, // they should actually be custom-lowered. Action = TLI.getOperationAction(Node->getOpcode(), Node->getValueType(0)); if (Action == TargetLowering::Legal) Action = TargetLowe...
2016 Oct 17
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
Hi, I'm gettign an assertion fail/crash in X86FrameLowering::GetFrameIndexReference when compiling the following bitcode: https://gist.github.com/carlokok/868cddebeb9acc8ccbac6253de0480b0 I tried removing the llvm.frameaddres calls but that's not it, where can I start looking for what my mistake here is? Code seems to verify just fine. ; #0 0x00e1afe8 llvm::X86FrameLowering::getFrameIndexReference(class llvm::MachineFunction const &,int,unsigned int &)const c:\p\llvm\llvm\lib\target\x86\x86frameloweri...
2016 Oct 19
2
Assertion fail/crash in X86FrameLowering::GetFrameIndexReference SEH
...>> Hi, >> >> I'm gettign an assertion fail/crash in >> X86FrameLowering::GetFrameIndexReference when compiling the following >> bitcode: >> >> https://gist.github.com/carlokok/868cddebeb9acc8ccbac6253de0480b0 >> >> I tried removing the llvm.frameaddres calls but that's not it, where can >> I start looking for what my mistake here is? Code seems to verify just >> fine. >> >> >> ; #0 0x00e1afe8 llvm::X86FrameLowering::getFrameIndexReference(class >> llvm::MachineFunction const &,int,unsigned int &)c...
2011 Mar 14
0
[LLVMdev] LLVM 2.9 RC1 Pre-release Tarballs
...LLVM :: CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll LLVM :: CodeGen/MSP430/2009-09-18-AbsoluteAddr.ll LLVM :: CodeGen/MSP430/2009-10-10-OrImpDef.ll LLVM :: CodeGen/MSP430/2009-11-08-InvalidResNo.ll LLVM :: CodeGen/MSP430/2009-11-20-NewNode.ll LLVM :: CodeGen/MSP430/2009-12-21-FrameAddr.ll LLVM :: CodeGen/MSP430/AddrMode-bis-rx.ll LLVM :: CodeGen/MSP430/AddrMode-bis-xr.ll LLVM :: CodeGen/MSP430/AddrMode-mov-rx.ll LLVM :: CodeGen/MSP430/AddrMode-mov-xr.ll LLVM :: CodeGen/MSP430/Inst16mi.ll LLVM :: CodeGen/MSP430/Inst16mm.ll LLVM :: CodeGen/MSP430/Inst16m...
2008 Sep 19
2
[LLVMdev] Custom Opcodes versus built-in opcodes
...ns and using custom opcodes that I can more easily directly map to my backend. These opcodes are then used to emit a custom set of instructions into the MachineBasicBlock. I've been able to get one to work correctly, however, I've ran into an issue where my second one is being confused as a FRAMEADDR opcode instead of my opcode. Make sure to use DAG.getTargetNode() with custom opcodes. "target" nodes are encoded with an implicit delta added to their enum value. Is this documented anywhere that getTargetNode is the preferred method to use in a Custom Lowering function? Even th...
2011 Mar 09
5
[LLVMdev] LLVM 2.9 RC1 Pre-release Tarballs
There are LLVM 2.9 RC1 pre-release tarballs source available. You can find them here: http://llvm.org/pre-releases/2.9/ Please download them, build them, and compile things to your heart's content. And most importantly file a bunch of bug reports. :-) Share and enjoy! -bw