Revert r59464. It was causing this failure:
authorBill Wendling <isanbard@gmail.com>
Tue, 18 Nov 2008 01:49:24 +0000 (01:49 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Nov 2008 01:49:24 +0000 (01:49 +0000)
commit8f55b3d67d685214aef7ff6c9d514d0461703caf
treeb6f7a4076fc16f4661dc75700c478c838bc0d206
parente45b6f10e2a0848052fca461568833ed0fa68d40
Revert r59464. It was causing this failure:

Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/dg.exp ...
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll
Failed with signal(SIGABRT) at line 1
while running:  llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll |  llc -march=xcore > fneg.ll.tmp1.s
Assertion failed: (VT.isFloatingPoint() && "Cannot create integer FP constant!"), function getConstantFP, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 913.
0   llc                                 0x0092115c _ZN4llvm3sys18RemoveFileOnSignalERKNS0_4PathEPSs + 844
1   libSystem.B.dylib                   0x9217809b _sigtramp + 43
2   ???                                 0xffffffff 0x0 + 4294967295
3   libSystem.B.dylib                   0x921f0ec2 raise + 26
4   libSystem.B.dylib                   0x9220047f abort + 73
5   libSystem.B.dylib                   0x921f2063 __assert_rtn + 101
6   llc                                 0x005a5b0a _ZN4llvm12SelectionDAG13getConmake[1]: *** [check-local] Error 1
make: *** [check] Error 2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59487 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
test/CodeGen/XCore/cos.ll
test/CodeGen/XCore/exp.ll
test/CodeGen/XCore/exp2.ll
test/CodeGen/XCore/fneg.ll
test/CodeGen/XCore/log.ll
test/CodeGen/XCore/log10.ll
test/CodeGen/XCore/log2.ll
test/CodeGen/XCore/sin.ll
test/CodeGen/XCore/sqrt.ll