Previous patch does not care if a value is changed between calloc and strlen. This needs to be removed from InstCombine and maybe moved to DSE later after some rework.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D47218
[InstCombine] Remove calloc transformations ClosedPublic Authored by xbolva00 on May 22 2018, 12:41 PM.
Details Summary Previous patch does not care if a value is changed between calloc and strlen. This needs to be removed from InstCombine and maybe moved to DSE later after some rework.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 22 2018, 12:56 PM Closed by commit rL333022: [InstCombine] Remove calloc transformations (authored by xbolva00). · Explain WhyMay 22 2018, 1:31 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148089 llvm/trunk/include/llvm/Analysis/ValueTracking.h
llvm/trunk/lib/Analysis/MemoryBuiltins.cpp
llvm/trunk/lib/Analysis/ValueTracking.cpp
llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/trunk/test/Transforms/InstCombine/zero-string.ll
|