[Sparc] Treat %fxx registers with value type Other as single precision

They get type Other when used in the clobber list in inline assembly.
This fixes tests fp128.ll and float.ll that failed after r333512.

llvm-svn: 333523
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index f4484d1..3b04038 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -3517,7 +3517,7 @@
         !name.substr(1).getAsInteger(10, intVal) && intVal <= 63) {
       std::string newConstraint;
 
-      if (VT == MVT::f32) {
+      if (VT == MVT::f32 || VT == MVT::Other) {
         newConstraint = "{f" + utostr(intVal) + "}";
       } else if (VT == MVT::f64 && (intVal % 2 == 0)) {
         newConstraint = "{d" + utostr(intVal / 2) + "}";