summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2012-12-24 00:13:23 +0000
committerDaniel Jasper <djasper@google.com>2012-12-24 00:13:23 +0000
commitde5c20792d3e684b3afac824f41076fca96f5813 (patch)
tree03f44e36c2dce22eace12d0a1e58a78fbde34fcd /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent32e0aa3a50d345d156402ded50adf783fd54d8c8 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud