We can replace the return values with undef if we replaced all the call uses with a constant/undef, in the multiple return value case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D22336
[SCCP] zap multiple return values ClosedPublic Authored by davide on Jul 13 2016, 10:03 PM.
Details Summary We can replace the return values with undef if we replaced all the call uses with a constant/undef, in the multiple return value case.
Diff Detail
Event Timelinedavide updated this object. davide retitled this revision from [SCCP] WIP to [SCCP] zap multiple return values.Jul 13 2016, 10:37 PM davide updated this object. This revision is now accepted and ready to land.Jul 20 2016, 12:36 PM Closed by commit rL276174: [SCCP] Zap multiple return values. (authored by davide). · Explain WhyJul 20 2016, 1:24 PM This revision was automatically updated to reflect the committed changes. Comment Actions ping
Thanks for your review, Eli.
Revision Contents
Diff 64745 llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
llvm/trunk/test/Transforms/SCCP/dont-zap-return.ll
llvm/trunk/test/Transforms/SCCP/ipsccp-basic.ll
|