Add 8 bit select
authorAnton Korobeynikov <asl@math.spbu.ru>
Fri, 8 May 2009 18:50:26 +0000 (18:50 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Fri, 8 May 2009 18:50:26 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71235 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/MSP430/MSP430InstrInfo.td

index 021e8bbeefc3d4b0a6c3cfb430df7f8d99a43acd..93f5c09db122d59f5c114b4c1be109d5654dd3c4 100644 (file)
@@ -107,6 +107,10 @@ def ADJCALLSTACKUP   : Pseudo<(outs), (ins i16imm:$amt1, i16imm:$amt2),
 }
 
 let usesCustomDAGSchedInserter = 1 in {
+  def Select8  : Pseudo<(outs GR8:$dst), (ins GR8:$src1, GR8:$src2, i8imm:$cc),
+                        "# Select8 PSEUDO",
+                        [(set GR8:$dst,
+                          (MSP430selectcc GR8:$src1, GR8:$src2, imm:$cc))]>;
   def Select16 : Pseudo<(outs GR16:$dst), (ins GR16:$src1, GR16:$src2, i8imm:$cc),
                         "# Select16 PSEUDO",
                         [(set GR16:$dst,