This is an archive of the discontinued LLVM Phabricator instance.

CodeGen: BlockPlacement: Reduce TriangleChainCount to 2
ClosedPublic

Authored by iteratee on Mar 15 2017, 4:23 PM.

Details

Reviewers
davidxl
Summary

This produces a 1% speedup on an important internal Google benchmark
(protocol buffers), with no other regressions in google or in the llvm
test-suite. Only 5 targets in the entire llvm test-suite are affected,
and on those 5 targets the size increase is 0.027%

Diff Detail

Event Timeline

iteratee created this revision.Mar 15 2017, 4:23 PM
davidxl accepted this revision.Mar 15 2017, 4:25 PM

lgtm

This revision is now accepted and ready to land.Mar 15 2017, 4:25 PM

Could you make a test case? Could be an MIR test case if an IR case would be too fragile.

Could you make a test case? Could be an MIR test case if an IR case would be too fragile.

Not necessarily disagreeing, but MIR and "not too fragile"? :)

Could you make a test case? Could be an MIR test case if an IR case would be too fragile.

Not necessarily disagreeing, but MIR and "not too fragile"? :)

Yea, okay :) -- In any case, it looks like this was committed in r297925 and there were indeed some test-case changes.

iteratee closed this revision.May 2 2017, 4:37 PM

Committed in rL297925