If we're dealing with a zero-length array, don't lower to any
authorEric Christopher <echristo@apple.com>
Wed, 3 Feb 2010 23:56:07 +0000 (23:56 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 3 Feb 2010 23:56:07 +0000 (23:56 +0000)
commitec5ef6d8b0fcdf7bf9df397a0e3d03e1d57b6fc1
tree04aa92d6909225621f4656eadf169a844d6dba15
parent9e90619a0e0e7042079dc93fe2f764bd3f46240a
If we're dealing with a zero-length array, don't lower to any
particular size, we just don't know what the length is yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/objsize.ll