The strcmp->memcmp transform can make the resulting memcmp read
uninitialized data, which MSan doesn't like.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D52272
[InstCombine] Disable strcmp->memcmp transform for MSan. ClosedPublic Authored by morehouse on Sep 19 2018, 12:00 PM.
Details Summary The strcmp->memcmp transform can make the resulting memcmp read
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 19 2018, 12:35 PM Closed by commit rL342582: [InstCombine] Disable strcmp->memcmp transform for MSan. (authored by morehouse). · Explain WhySep 19 2018, 12:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 166170 llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/trunk/test/Transforms/InstCombine/strcmp-memcmp.ll
|