mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bf3c26b2b
commit
369e6db9b6
@ -623,7 +623,8 @@ void SelectionDAGLowering::visitLoad(LoadInst &I) {
|
|||||||
Root = DAG.getRoot();
|
Root = DAG.getRoot();
|
||||||
}
|
}
|
||||||
|
|
||||||
SDOperand L = DAG.getLoad(TLI.getValueType(I.getType()), Root, Ptr, DAG.getSrcValue(&I));
|
SDOperand L = DAG.getLoad(TLI.getValueType(I.getType()), Root, Ptr,
|
||||||
|
DAG.getSrcValue(&I));
|
||||||
setValue(&I, L);
|
setValue(&I, L);
|
||||||
|
|
||||||
if (I.isVolatile())
|
if (I.isVolatile())
|
||||||
@ -638,7 +639,8 @@ void SelectionDAGLowering::visitStore(StoreInst &I) {
|
|||||||
SDOperand Src = getValue(SrcV);
|
SDOperand Src = getValue(SrcV);
|
||||||
SDOperand Ptr = getValue(I.getOperand(1));
|
SDOperand Ptr = getValue(I.getOperand(1));
|
||||||
// DAG.setRoot(DAG.getNode(ISD::STORE, MVT::Other, getRoot(), Src, Ptr));
|
// DAG.setRoot(DAG.getNode(ISD::STORE, MVT::Other, getRoot(), Src, Ptr));
|
||||||
DAG.setRoot(DAG.getNode(ISD::STORE, MVT::Other, getRoot(), Src, Ptr, DAG.getSrcValue(&I)));
|
DAG.setRoot(DAG.getNode(ISD::STORE, MVT::Other, getRoot(), Src, Ptr,
|
||||||
|
DAG.getSrcValue(&I)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SelectionDAGLowering::visitCall(CallInst &I) {
|
void SelectionDAGLowering::visitCall(CallInst &I) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user