If the loop operand type is int8 then there will be no residual loop for the unknown size expansion. This patch defers creating the residual size and bytes copied values when they aren't needed.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D41198
[Memcpy Loop Lowering] Only calcualte the residual size/bytes copied when its needed. ClosedPublic Authored by sfertile on Dec 13 2017, 1:28 PM.
Details
Diff Detail
Revision Contents
Diff 126823 lib/Transforms/Utils/LowerMemIntrinsics.cpp
test/CodeGen/NVPTX/lower-aggr-copies.ll
|