Factor out type info emission into separate routine.
[oota-llvm.git] / test / CodeGen / ARM / fast-isel-ret.ll
index 175cd9034ce775ed7f8040986c6966635f69c173..689b169ee32f6285358ff5ea3ea2f86eb641362b 100644 (file)
@@ -46,3 +46,12 @@ entry:
 ; CHECK: bx lr
   ret i16 %a
 }
+
+define i16 @ret6(i16 %a) nounwind uwtable ssp {
+entry:
+; CHECK: ret6
+; CHECK-NOT: uxth
+; CHECK-NOT: sxth
+; CHECK: bx lr
+  ret i16 %a
+}