HsiangKai updated this revision to Diff 334590.
HsiangKai added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99592/new/
https://reviews.llvm.org/D99592
Files:
clang/lib/CodeGen/CGCall.cpp
sdesmalen added inline comments.
Comment at: clang/lib/CodeGen/CGCall.cpp:2856
Address AddrToStoreInto = Address::invalid();
-if (SrcSize <= DstSize) {
+if (llvm::TypeSize::isKnownLE(SrcSize, DstSize)) {
AddrToStoreInto =
HsiangKai created this revision.
HsiangKai added reviewers: craig.topper, frasercrmck, rogfer01.
Herald added a subscriber: StephenFan.
HsiangKai requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The return type of getTypeAllocSize() is