1. If a double FP constant must be put into a constant pool, but it can be
authorChris Lattner <sabre@nondot.org>
Wed, 5 Jan 2005 16:30:14 +0000 (16:30 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 5 Jan 2005 16:30:14 +0000 (16:30 +0000)
commit5384b38ccc609eb405255c5adbc2d82e8b2ff6dd
treef0601995163a13e2e004ff71e212a003ddbcd905
parentd34b25769269002cb1d554bfdf70dfd59079fc44
1. If a double FP constant must be put into a constant pool, but it can be
   precisely represented as a float, put it into the constant pool as a
   float.
2. Use the cbw/cwd/cdq instructions instead of an explicit SAR for signed
   division.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelSimple.cpp