diff options
author | Daniel Jasper <djasper@google.com> | 2012-12-24 00:13:23 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2012-12-24 00:13:23 +0000 |
commit | de5c20792d3e684b3afac824f41076fca96f5813 (patch) | |
tree | 03f44e36c2dce22eace12d0a1e58a78fbde34fcd /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 32e0aa3a50d345d156402ded50adf783fd54d8c8 (diff) | |
download | bcm5719-llvm-de5c20792d3e684b3afac824f41076fca96f5813.tar.gz bcm5719-llvm-de5c20792d3e684b3afac824f41076fca96f5813.zip |
Take operator precedence into account when splitting lines.
With this patch, splitting after binary operators has a panelty corresponding
to the operator's precedence. We used to ignore this and eagerly format like:
if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb &&
ccccccccccccccccccccccccc) { .. }
With this patch, this becomes:
if (aaaaaaaaaaaaaaaaaaaaaaaaa ||
bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. }
llvm-svn: 171007
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions