Please, save your applause^H^H^H^H^H^H^H^Hflames for the end...
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 18 Jul 2003 20:23:43 +0000 (20:23 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 18 Jul 2003 20:23:43 +0000 (20:23 +0000)
commitd461505efd8f59b110c253548a74ca0a8ea6f8bf
treebc96166d9adfdded40d4eafe1b7e53fe2c3314a5
parent06dabfaed55d37cf40e811586ba06b5779e58ab9
Please, save your applause^H^H^H^H^H^H^H^Hflames for the end...

Avoid a fall-through in the (stubby) treatment of the longjmp intrinsic
call which causes llc & lli to core-dump.

Add a sort-of treatment of cast double to ulong. I am not really sure
what a user should expect to see upon casting a negative FP value to
unsigned long long. But with what is given here, I was able to write
a program that could cast -123.456 to ulong and back and get -123.0,
which seems like a step in the right direction.  GCC seems to give you
0. I don't know if I'd consider that useful.

These cases were coming up in GNU coreutils-5.0.

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