diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-12-06 19:18:56 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-12-06 19:18:56 +0000 |
| commit | bfc7ffa40ffc570f54e2b4462dc6aae38da1a85a (patch) | |
| tree | 682481297bd20b36ecb6167ff18de501ccbebfbb /llvm/lib/Bitcode | |
| parent | 845d5a0aa836e91be70802b6c6e5bc72b9585b2f (diff) | |
| download | bcm5719-llvm-bfc7ffa40ffc570f54e2b4462dc6aae38da1a85a.tar.gz bcm5719-llvm-bfc7ffa40ffc570f54e2b4462dc6aae38da1a85a.zip | |
[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.
llvm-svn: 348518
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions

