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 /compiler-rt | |
parent | 558d09d87e66c26ead3286c6f16fb451d19814b5 (diff) | |
download | bcm5719-llvm-351a3f881fa393a59afe45d4aa8e8fc0f75fa90a.tar.gz bcm5719-llvm-351a3f881fa393a59afe45d4aa8e8fc0f75fa90a.zip |
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 'compiler-rt')
0 files changed, 0 insertions, 0 deletions