Add support for widening integral casts.
authorBrian Gaeke <gaeke@uiuc.edu>
Sat, 8 May 2004 06:36:14 +0000 (06:36 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sat, 8 May 2004 06:36:14 +0000 (06:36 +0000)
commit429022bf830f25c1199a47aab5ffd9a0b3f17a1d
tree009d87ea5d139dbdd1f8125474df8d2a76fad657
parent59dbff714cc44993a16522de15e89c56c604449d
Add support for widening integral casts.

Flesh out the SetCC support... which currently ends in a little bit
of unfinished code (which is probably completely hilarious) for
generating the condition value splitting the basic block up into 4
blocks, like this (clearly a better API is needed for this!):

       BB
   cond. branch
     /         /          R1=1    R2=0
     \      /
      \    /
    R=phi(R1,R2)

Other minor edits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13423 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