re PR tree-optimization/66948 (Performance regression in bit manipulation code)
authorRichard Biener <rguenther@suse.de>
Tue, 21 Jul 2015 14:03:57 +0000 (14:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 21 Jul 2015 14:03:57 +0000 (14:03 +0000)
commit2d79964613a139ba588c52c7d6390f5f6745d74e
tree9d1fbe883757df7ca019c76a26b10b1a9cb1fa9d
parent22be23495a1f0cd1ae6a1aca32c39edb9f7a9c51
re PR tree-optimization/66948 (Performance regression in bit manipulation code)

2015-07-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66948
* genmatch.c (capture_info::walk_match): Also recurse to
captures.  Properly compute expr state from captures of
captures.
* match.pd: Add single-use guards to
(X & C2) >> C1 into (X >> C1) & (C2 >> C1) transform.

From-SVN: r226041
gcc/ChangeLog
gcc/genmatch.c
gcc/match.pd