| commit | 75d9d5159e70b9255a65aed45fd1adefde0be7c8 | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Aug 07 18:02:19 2012 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Tue Aug 07 18:02:19 2012 +0000 |
| tree | e0fc1ae5da4be3b9c2759592c9601106df87e347 | |
| parent | d39041f2fc7c5734da8b5dede5caac23713e9236 [diff] |
Add trace accessor methods, implement primitive if-conversion heuristic. Compare the critical paths of the two traces through an if-conversion candidate. If the difference is larger than the branch brediction penalty, reject the if-conversion. If would never pay. llvm-svn: 161433