Fix bug in FoldFCmp_IntToFP_Cst. If inttofp is a uintofp, use unsigned instead of...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 22 May 2009 23:10:53 +0000 (23:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 22 May 2009 23:10:53 +0000 (23:10 +0000)
commit2ddb6f1440acd63b6d9e00c3033f8aa5d6627557
tree33da89c56a30568169fb485a672196b08bc3d8e2
parentf96a499535aedb6785645db3ea21bb2051233e8d
Fix bug in FoldFCmp_IntToFP_Cst. If inttofp is a uintofp, use unsigned instead of signed integer constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll [new file with mode: 0644]