[llvm-commits] [llvm] r40864 - /llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp

Chris Lattner sabre at nondot.org
Mon Aug 6 09:36:18 PDT 2007


Author: lattner
Date: Mon Aug  6 11:36:18 2007
New Revision: 40864

URL: http://llvm.org/viewvc/llvm-project?rev=40864&view=rev
Log:
Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE,
introduced by chandler's patch.

Modified:
    llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp

Modified: llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp?rev=40864&r1=40863&r2=40864&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp Mon Aug  6 11:36:18 2007
@@ -231,7 +231,7 @@
     }
   }
 
-  return CastInst::createIntegerCast(Count, Type::Int32Ty, false, "ctpop", IP);
+  return Count;
 }
 
 /// LowerCTLZ - Emit the code to lower ctlz of V before the specified





More information about the llvm-commits mailing list