summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-07-22 22:18:07 +0000
committerNadav Rotem <nrotem@apple.com>2013-07-22 22:18:07 +0000
commitcf0dcdc71c8e568692b255b6338c289d85cb9a1e (patch)
tree30e9198dace5c053a00d2d78bcfe3817382dd90d /llvm/lib/Object/MachOObjectFile.cpp
parent6c655f237e4a38258a95d47bb3b624fa99716e35 (diff)
downloadbcm5719-llvm-cf0dcdc71c8e568692b255b6338c289d85cb9a1e.tar.gz
bcm5719-llvm-cf0dcdc71c8e568692b255b6338c289d85cb9a1e.zip
When we vectorize across multiple basic blocks we may vectorize PHINodes that create a cycle. We already break the cycle on phi-nodes, but arithmetic operations are still uplicated. This patch adds code that checks if the operation that we are vectorizing was vectorized during the visit of the operands and uses this value if it can.
llvm-svn: 186883
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud