[llvm-commits] [llvm] r69816 - /llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Devang Patel dpatel at apple.com
Wed Apr 22 11:51:05 PDT 2009


Author: dpatel
Date: Wed Apr 22 13:51:05 2009
New Revision: 69816

URL: http://llvm.org/viewvc/llvm-project?rev=69816&view=rev
Log:
Fix cut-n-pasto.

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp?rev=69816&r1=69815&r2=69816&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp Wed Apr 22 13:51:05 2009
@@ -94,8 +94,8 @@
 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, const Type *Ty) {
   Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false);
   assert((Op == Instruction::BitCast ||
-          Op == Instruction::Instruction::PtrToInt ||
-          Op == Instruction::Instruction::IntToPtr) &&
+          Op == Instruction::PtrToInt ||
+          Op == Instruction::IntToPtr) &&
          "InsertNoopCastOfTo cannot perform non-noop casts!");
   assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
          "InsertNoopCastOfTo cannot change sizes!");





More information about the llvm-commits mailing list