From: Chris Lattner Date: Mon, 14 Jul 2008 00:32:20 +0000 (+0000) Subject: simplify some code, shuffle and insertelt always return a vector. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4238453135ed5808b4515f516ed7ccd1fe8a5750;p=oota-llvm.git simplify some code, shuffle and insertelt always return a vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53538 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/InlineCost.cpp b/lib/Transforms/Utils/InlineCost.cpp index c87e4b80f0f..c17705bf850 100644 --- a/lib/Transforms/Utils/InlineCost.cpp +++ b/lib/Transforms/Utils/InlineCost.cpp @@ -103,8 +103,7 @@ void InlineCostAnalyzer::FunctionInfo::analyzeFunction(Function *F) { if (isa(II)) continue; // Debug intrinsics don't count. if (isa(II)) continue; // PHI nodes don't count. - if (isa(II) || isa(II) || - isa(II) || isa(II->getType())) + if (isa(II) || isa(II->getType())) ++NumVectorInsts; // Noop casts, including ptr <-> int, don't count.