Displaying 1 result from an estimated 1 matches for "getwithoffset".
2014 Aug 13
2
[LLVMdev] Pseudo load and store instructions for AArch64
...FakeLoad64,
FakeStore64
in AArch64SelectionDAGInfo::EmitTargetCodeForMemcpy():
SmallVector<SDValue, 4> Ops;
Ops.push_back(Chain);
Ops.push_back(DAG.getNode(ISD::ADD, dl, MVT::i64, Src,
DAG.getConstant(SrcOff, MVT::i64)));
// Ops.push_back(SrcPtrInfo.getWithOffset(SrcOff));
Ops.push_back(DAG.getConstant(0, MVT::i64));
Loads[i] = DAG.getNode(AArch64::FakeLoad64, dl, VT, Ops);
There seems to be something wrong with pointer information inside getNode() as
llvm::MachinePointerInfo::getAddrSpace() asserts.
I can't find an example of similar instruction...