diff options
| author | Stuart Hastings <stuart@apple.com> | 2011-06-13 18:48:49 +0000 |
|---|---|---|
| committer | Stuart Hastings <stuart@apple.com> | 2011-06-13 18:48:49 +0000 |
| commit | 351a3f881fa393a59afe45d4aa8e8fc0f75fa90a (patch) | |
| tree | 0d2be697cc2a5dc4863012e20fd002fa55ce62f5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 558d09d87e66c26ead3286c6f16fb451d19814b5 (diff) | |
| download | llvm-351a3f881fa393a59afe45d4aa8e8fc0f75fa90a.zip llvm-351a3f881fa393a59afe45d4aa8e8fc0f75fa90a.tar.gz llvm-351a3f881fa393a59afe45d4aa8e8fc0f75fa90a.tar.bz2 | |
Avoid fusing bitcasts with dynamic allocas if the amount-to-allocate
might overflow. Re-typing the alloca to a larger type (e.g. double)
hoists a shift into the alloca, potentially exposing overflow in the
expression. rdar://problem/9265821
llvm-svn: 132926
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
