commit | c74d7def3c3b0f8835b635b1dd1fb31f4164e2d8 | [log] [tgz] |
---|---|---|
author | Tanya Lattner <tonic@nondot.org> | Wed May 23 04:22:41 2007 +0000 |
committer | Tanya Lattner <tonic@nondot.org> | Wed May 23 04:22:41 2007 +0000 |
tree | 1064f2be77db080213b5cd6f4b0fde41d63e4782 | |
parent | 9849abfd29f431cd2ae6596b7a0bb0752086e69e [diff] |
Merge from mainline git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_20@37298 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index cb80cdb..256b2fd 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -389,8 +389,7 @@ 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; }