DescriptionSubzero: Initial implementation of BB Local CSE
Adds Cfg::localCse for basic-block local common-subexpression elimination
If we have
t1 = op b c
t2 = op b c
This pass will replace future uses of t2 in a basic block by t1.
To enable, use -enable-experimental in O2
BUG=none
Patch Set 1 : Initial Implementation #
Total comments: 46
Patch Set 2 : Address comments #Patch Set 3 : Add asserts to replaceSource #Patch Set 4 : Add simple test, counts no. of adds in the result #Patch Set 5 : Modify test for x8632 and 64 to check with and without local-cse #
Total comments: 25
Patch Set 6 : Address comments, add -lcse-max-iters option. #
Total comments: 6
Patch Set 7 : Final touches #
Messages
Total messages: 12 (3 generated)
|