aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-05-10 11:46:57 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-05-10 11:46:57 +0000
commit5f173d414ed901ce57dd2a8fa21794b7b789ecc2 (patch)
tree8526b079ea715c0e92f6bb9ac65e88ac9655696e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent56b377644a3a85722c05c63507bfcb711748b398 (diff)
downloadllvm-5f173d414ed901ce57dd2a8fa21794b7b789ecc2.zip
llvm-5f173d414ed901ce57dd2a8fa21794b7b789ecc2.tar.gz
llvm-5f173d414ed901ce57dd2a8fa21794b7b789ecc2.tar.bz2
Prevent complex access ranges with low number of pieces.
Previously we checked the number of pieces to decide whether or not a invariant load was to complex to be generated. However, there are cases when e.g., divisions cause the complexity to spike regardless of the number of pieces. To this end we now check the number of totally involved dimensions which will increase with the number of pieces but also the number of divisions. llvm-svn: 269045
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions