search for: lowersetreturnaddr

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

2013 Nov 04
0
[LLVMdev] Implementing an llvm.setreturnaddress intrinsic
...tInt32Ty(RI->getContext()), 0), B.CreateIntToPtr(ConstantInt::get(IntPtrTy, 0 /* testing */)), RA->getReturnType())); The problem I'm facing is that for some reason, my following line inside X86TargetLowering::LowerOperation is never getting called: case ISD::SETRETURNADDR: return LowerSETRETURNADDR(Op, DAG); This is despite the fact that I can confirm the following line inside SelectionDAGBuilder::visitIntrinsicCall *is* getting called: case Intrinsic::setreturnaddress: setValue(&I, DAG.getNode(ISD::SETRETURNADDR, sdl, TLI->getPointerTy(), getValue(I.g...