Promote cases like cast (malloc sbyte, 100) to int* into
authorChris Lattner <sabre@nondot.org>
Thu, 27 Oct 2005 06:12:00 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Oct 2005 06:12:00 +0000 (06:12 +0000)
commit8142b0a54bd443f8813d914ba8b953964ae1e914
tree558895e6fb01045012bcafeba85c7379fb9f557a
parent0ddac2a1c349f88fb0b6d1373ce9e66c2ffe77c3
Promote cases like cast (malloc sbyte, 100) to int* into
(malloc [25 x int]) directly without having to convert to
(malloc [100 x sbyte]) first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24031 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp