1. Bug fix: was using SLL instead of SLLX for ULongTy. Chump.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 6 Aug 2003 18:48:40 +0000 (18:48 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 6 Aug 2003 18:48:40 +0000 (18:48 +0000)
commite895a740c762c48b308bb3ebc8b76ad68b009569
treec1214884f328c4a1480790265509746f04c37bb5
parent5ac1175ada8d17495dc174a8f6fef245e6b30633
1. Bug fix: was using SLL instead of SLLX for ULongTy.  Chump.
2. Handle fp-to-uint conversions directly here instead of relying on
   a pre-transformation to replace them with the 2-step conversion.
3. Use size rather than explicitly checking types when deciding what
   opcodes to use, wherever possible.  This is less error prone (the
   bug fix above was not the first time!).
4. Float-to-pointer casts shd now work though this hasn't been tested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7645 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp