aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-11-10 08:32:25 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-11-10 08:32:25 +0000
commit8e345a1c418608c49abb7c51a090bbb36f1273bc (patch)
tree224be4ee8cbfb0f87c72ee7964af0fa7b06aeea0 /lib/CodeGen/IntrinsicLowering.cpp
parent2b6705f5e7c7624bd7fe486298c400f1afc15f6c (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