Add support for copying bool constants to registers.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 7 May 2004 21:39:30 +0000 (21:39 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 7 May 2004 21:39:30 +0000 (21:39 +0000)
commite302a7eb433b43434e021b90c477fdd281c2ccd5
tree5aecdb132e6ed43d265b368dbbfc5af7516d80c7
parente7a31c98db05a955ef558d4c685b143c48063b68
Add support for copying bool constants to registers.
Disable the code that copies long constants to registers - it looks fishy.
Implement some simple casts: integral, smaller than longs, and equal-width
 or narrowing only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13413 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/InstSelectSimple.cpp
lib/Target/Sparc/SparcV8ISelSimple.cpp
lib/Target/SparcV8/InstSelectSimple.cpp
lib/Target/SparcV8/SparcV8ISelSimple.cpp