Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mips -mcpu=mips32r2 -mattr=+micromips,+nooddspreg -O0 < %s | FileCheck %s
      2 
      3 ; CHECK: addiu    $[[R0:[0-9]+]], $zero, 0
      4 ; CHECK: subu16   $2, $[[R0]], ${{[0-9]+}}
      5 define i32 @foo() {
      6   %1 = sub i32 0, undef
      7   ret i32 %1
      8 }
      9