Skip to content

Commit 7329a37

Browse files
committed
Remove redundant flag argument
1 parent 4edcf2f commit 7329a37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9138,8 +9138,7 @@ bool SelectionDAGBuilder::visitMemPCpyCall(const CallInst &I) {
91389138
Size = DAG.getSExtOrTrunc(Size, sdl, Dst.getValueType());
91399139

91409140
// Adjust return pointer to point just past the last dst byte.
9141-
SDNodeFlags Flags;
9142-
SDValue DstPlusSize = DAG.getMemBasePlusOffset(Dst, Size, sdl, Flags);
9141+
SDValue DstPlusSize = DAG.getMemBasePlusOffset(Dst, Size, sdl);
91439142
setValue(&I, DstPlusSize);
91449143
return true;
91459144
}

0 commit comments

Comments
 (0)