diff options
author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-05-10 11:46:57 +0000 |
---|---|---|
committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2016-05-10 11:46:57 +0000 |
commit | 5f173d414ed901ce57dd2a8fa21794b7b789ecc2 (patch) | |
tree | 8526b079ea715c0e92f6bb9ac65e88ac9655696e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 56b377644a3a85722c05c63507bfcb711748b398 (diff) | |
download | llvm-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