From 0656466734f44ac2fc0132322700b67a18d220c2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 31 Oct 2008 01:50:01 +0000 Subject: [PATCH] Fix warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58486 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/BasicInliner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/BasicInliner.cpp b/lib/Transforms/Utils/BasicInliner.cpp index 73e8bd84676..8c8a85eda9d 100644 --- a/lib/Transforms/Utils/BasicInliner.cpp +++ b/lib/Transforms/Utils/BasicInliner.cpp @@ -118,7 +118,7 @@ void BasicInlinerImpl::inlineFunctions() { } else { int Cost = IC.getValue(); - if (Cost >= BasicInlineThreshold) { + if (Cost >= (int) BasicInlineThreshold) { DOUT << " NOT Inlining: cost = " << Cost << ", call: " << *CS.getInstruction(); continue;