commit | 584b59964195f11986cd099acb43989a18e899a9 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Dec 06 19:18:56 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Dec 06 19:18:56 2018 +0000 |
tree | 500614dc37cafce2fc66a8080d07d13ad4b0eddb | |
parent | e76811b8ad4ea93f41f0b3f908f37100e83240c6 [diff] |
[DAGCombiner] don't hoist logic op if operands have other uses, part 2 The PPC test with 2 extra uses seems clearly better by avoiding this transform. With 1 extra use, we also prevent an extra register move (although that might be an RA problem). The general rule should be to only make a change here if it is always profitable. The x86 diffs are all neutral.