Fix PR 7087, and probably other things, by extending
authorDale Johannesen <dalej@apple.com>
Fri, 7 May 2010 21:35:53 +0000 (21:35 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 7 May 2010 21:35:53 +0000 (21:35 +0000)
commit0a406ae0d940d92c51ee145b48ff7a483a366849
treea2f28e5284f7cd9295f83072a364ee68a798b185
parente9f8f5e6004fd49f2aff4dd23db8e9b0e4454fc6
Fix PR 7087, and probably other things, by extending
getConstantFP to accept the two supported long double
target types.  This was not the original intent, but
there are other places that assume this works and it's
easy enough to do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103299 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/2010-05-07-ldconvert.ll [new file with mode: 0644]