summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-17 19:36:00 +0000
committerChris Lattner <sabre@nondot.org>2009-03-17 19:36:00 +0000
commit2363d0b8b9b7ef1104dc49f5cd2a348858383df5 (patch)
tree619ace6d87a0f8b056fd3152b7494fe43ed11bce /clang/lib/Driver/Driver.cpp
parent954f6b27dae8e197c1bd5e28e4f32aeb13def296 (diff)
downloadbcm5719-llvm-2363d0b8b9b7ef1104dc49f5cd2a348858383df5.tar.gz
bcm5719-llvm-2363d0b8b9b7ef1104dc49f5cd2a348858383df5.zip
Fix codegen to compute the size of an allocation by multiplying the
size by the array amount as an i32 value instead of promoting from i32 to i64 then doing the multiply. Not doing this broke wrap-around assumptions that the optimizers (validly) made. The ultimate real fix for this is to introduce i64 version of alloca and remove mallocinst. This fixes PR3829 llvm-svn: 67093
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud