This is an archive of the discontinued LLVM Phabricator instance.

[LSR] don't attempt to promote ephemeral values to indvars
ClosedPublic

Authored by jingyue on Jul 10 2015, 5:05 PM.

Details

Summary

This at least saves compile time. I also encountered a case where
ephemeral values affect whether other variables are promoted, causing
performance issues. It may be a bug in LSR, but I didn't manage to
reduce it yet. Anyhow, I believe it's in general not worth considering
ephemeral values in LSR.

Diff Detail

Event Timeline

jingyue updated this revision to Diff 29506.Jul 10 2015, 5:05 PM
jingyue retitled this revision from to [LSR] don't attempt to promote ephemeral values to indvars.
jingyue updated this object.
jingyue added reviewers: atrick, hfinkel.
jingyue added a subscriber: llvm-commits.
hfinkel accepted this revision.Jul 10 2015, 6:22 PM
hfinkel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 10 2015, 6:22 PM
jingyue closed this revision.Jul 12 2015, 8:28 PM