Use isSingleValueType instead of isFirstClassType to
authorDan Gohman <gohman@apple.com>
Fri, 23 May 2008 00:12:03 +0000 (00:12 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 23 May 2008 00:12:03 +0000 (00:12 +0000)
commit31e5bdccf29f0ce6172f0f0bbb43a9a736b1ef0c
treef729631b1cf91802156876ab9bc76dec22a04adf
parent5bbaf01b84d22fc654588e1e3c2db5be4cb41531
Use isSingleValueType instead of isFirstClassType to
exclude struct and array types.

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