Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Merge from mainline
Browse files Browse the repository at this point in the history
git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_20@37298 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Tanya Lattner committed May 23, 2007
1 parent f855437 commit 182b5a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Transforms/Scalar/InstructionCombining.cpp
Expand Up @@ -389,8 +389,7 @@ static const Type *getPromotedType(const Type *Ty) {
if (const IntegerType* ITy = dyn_cast<IntegerType>(Ty)) {
if (ITy->getBitWidth() < 32)
return Type::Int32Ty;
} else if (Ty == Type::FloatTy)
return Type::DoubleTy;
}
return Ty;
}

Expand Down

0 comments on commit 182b5a2

Please sign in to comment.