summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-03-02 12:15:37 +0000
committerTobias Grosser <tobias@grosser.es>2017-03-02 12:15:37 +0000
commit1c787e0b49207ca5cdc67dbc21f39a444a983169 (patch)
treeb6e90770af90c00cba53f35b61c224548dcf6770 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parente2bf69715ff830419f39e727fcccb5f0d9f0f425 (diff)
downloadbcm5719-llvm-1c787e0b49207ca5cdc67dbc21f39a444a983169.tar.gz
bcm5719-llvm-1c787e0b49207ca5cdc67dbc21f39a444a983169.zip
[ScopDetection] Do not allow required-invariant loads in non-affine region
These loads cannot be savely hoisted as the condition guarding the non-affine region cannot be duplicated to also protect the hoisted load later on. Today they are dropped in ScopInfo. By checking for this early, we do not even try to model them and possibly can still optimize smaller regions not containing this specific required-invariant load. llvm-svn: 296744
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud