summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-07-18 20:23:43 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-07-18 20:23:43 +0000
commit26bb3c1df65661ae447d0d48d53ef1ecf05b6f1c (patch)
tree1f53b602c31432c8623f831a9d05e1f3b026cd3b /llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
parent1f6feb7bf4baa25dd9bb1a59a822476fdffea0c9 (diff)
downloadbcm5719-llvm-26bb3c1df65661ae447d0d48d53ef1ecf05b6f1c.tar.gz
bcm5719-llvm-26bb3c1df65661ae447d0d48d53ef1ecf05b6f1c.zip
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. llvm-svn: 7205
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud