Skip to content

Commit eeb54e4

Browse files
committed
Remove lie.
1 parent d07d63d commit eeb54e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5163,9 +5163,6 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
51635163
}
51645164
}
51655165
if (IRFunctionArgs.hasSRetArg()) {
5166-
// If the caller allocated the return slot, it is possible that the
5167-
// alloca was AS casted to the default as, so we ensure the cast is
5168-
// stripped before binding to the sret arg, which is in the allocaAS.
51695166
IRCallArgs[IRFunctionArgs.getSRetArgNo()] =
51705167
getAsNaturalPointerTo(SRetPtr, RetTy);
51715168
} else if (RetAI.isInAlloca()) {

0 commit comments

Comments
 (0)