Skip to content

Commit b258681

Browse files
authored
[NFC] add LLVM_ABI to function getMemcmp declaration (#166192)
According to discussion of #153600 (comment) add LLVM_ABI to function getMemcmp declaration
1 parent 718a3b2 commit b258681

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

llvm/include/llvm/CodeGen/SelectionDAG.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,9 +1260,15 @@ class SelectionDAG {
12601260
/// stack arguments from being clobbered.
12611261
LLVM_ABI SDValue getStackArgumentTokenFactor(SDValue Chain);
12621262

1263-
std::pair<SDValue, SDValue> getMemcmp(SDValue Chain, const SDLoc &dl,
1264-
SDValue Dst, SDValue Src, SDValue Size,
1265-
const CallInst *CI);
1263+
/// Lower a memcmp operation into a target library call and return the
1264+
/// resulting chain and call result as SelectionDAG SDValues.
1265+
LLVM_ABI std::pair<SDValue, SDValue> getMemcmp(SDValue Chain, const SDLoc &dl,
1266+
SDValue Dst, SDValue Src,
1267+
SDValue Size,
1268+
const CallInst *CI);
1269+
1270+
/// Lower a strlen operation into a target library call and return the
1271+
/// resulting chain and call result as SelectionDAG SDValues.
12661272
LLVM_ABI std::pair<SDValue, SDValue>
12671273
getStrlen(SDValue Chain, const SDLoc &dl, SDValue Src, const CallInst *CI);
12681274

0 commit comments

Comments
 (0)