This is an archive of the discontinued LLVM Phabricator instance.

Reduce number of getOffset calls.
Needs ReviewPublic

Authored by ruiu on Jun 30 2016, 12:39 AM.
This revision needs review, but all specified reviewers are disabled or inactive.

Details

Reviewers
espindola
Summary

Mergeable sections usually don't have relocations, so this piece
of code is being used to skip dead EH frames. This patch make it
explicit so that we don't needlessly spend time on getOffset.

Diff Detail

Event Timeline

ruiu updated this revision to Diff 62338.Jun 30 2016, 12:39 AM
ruiu retitled this revision from to Reduce number of getOffset calls..
ruiu updated this object.
ruiu added a reviewer: rafael.
ruiu added a subscriber: llvm-commits.
rafael edited edge metadata.Jun 30 2016, 1:00 PM
rafael added a subscriber: rafael.

Unfortunately benchmarking this I got only very small variations. See
attached file for details.

Cheers,
Rafael

espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 9:52 AM