[llvm-commits] [llvm] r58486 - /llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp

Daniel Dunbar daniel at zuster.org
Thu Oct 30 18:50:01 PDT 2008


Author: ddunbar
Date: Thu Oct 30 20:50:01 2008
New Revision: 58486

URL: http://llvm.org/viewvc/llvm-project?rev=58486&view=rev
Log:
Fix warning.

Modified:
    llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp

Modified: llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp?rev=58486&r1=58485&r2=58486&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/BasicInliner.cpp Thu Oct 30 20:50:01 2008
@@ -118,7 +118,7 @@
         } else {
           int Cost = IC.getValue();
           
-          if (Cost >= BasicInlineThreshold) {
+          if (Cost >= (int) BasicInlineThreshold) {
             DOUT << "  NOT Inlining: cost = " << Cost
                  << ", call: " <<  *CS.getInstruction();
             continue;





More information about the llvm-commits mailing list