diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-11-10 08:32:25 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-11-10 08:32:25 +0000 |
commit | 8e345a1c418608c49abb7c51a090bbb36f1273bc (patch) | |
tree | 224be4ee8cbfb0f87c72ee7964af0fa7b06aeea0 /lib/CodeGen/IntrinsicLowering.cpp | |
parent | 2b6705f5e7c7624bd7fe486298c400f1afc15f6c (diff) |
Update computeArraySize() to use ComputeMultiple() to determine the array size associated with a malloc; also extend PerformHeapAllocSRoA() to check if the optimized malloc's arg had its highest bit set, so that it is safe for ComputeMultiple() to look through sext instructions while determining the optimized malloc's array size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
0 files changed, 0 insertions, 0 deletions