optimizeMemoryInst was reporting no change while still modifying the IR.
Inspect the status of TypePromotionTransaction to get a better status.
Related to https://reviews.llvm.org/D80916
Paths
| Differential D81256
Upgrade TypePromotionTransaction to be able to report changes in CodeGenPrepare ClosedPublic Authored by serge-sans-paille on Jun 5 2020, 5:20 AM.
Details Summary optimizeMemoryInst was reporting no change while still modifying the IR. Related to https://reviews.llvm.org/D80916
Diff Detail
Event Timelineserge-sans-paille added inline comments.
Comment Actions @foad / @jdoerfert up ? This is the last missing piece before I can land the pass return status expensive check, aka https://reviews.llvm.org/D80916 serge-sans-paille marked 2 inline comments as done. Comment ActionsStick to original API for easier maintenance.
Comment Actions Looks good to me now - though it would still be nice to hear from @qcolombet as the author of TypePromotionTransaction. This revision is now accepted and ready to land.Jul 7 2020, 2:48 AM Comment Actions
Thanks! I'll leave another day before I merge it if we don't hear from @qcolombet Closed by commit rGedc7da24057b: Upgrade TypePromotionTransaction to be able to report changes in CodeGenPrepare (authored by serge-sans-paille). · Explain WhyJul 7 2020, 11:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 276318 llvm/lib/CodeGen/CodeGenPrepare.cpp
|
Maybe changedSince would be a better name?