Instead of silently breaking, print notification of why this doesn't work.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16870 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
index fa7ef24..fd53d57 100644
--- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
+++ b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp
@@ -260,6 +260,9 @@
                           "=m"(DoubleFP[26]), "=m"(DoubleFP[27]),
                           "=m"(DoubleFP[28]), "=m"(DoubleFP[29]),
                           "=m"(DoubleFP[30]), "=m"(DoubleFP[31]));
+#else
+  std::cerr << "ERROR: RUNNING CODE THAT ONLY WORKS ON A SPARCV9 HOST!\n";
+  abort();
 #endif
 }
 
@@ -316,6 +319,9 @@
                            "m"(DoubleFP[26]), "m"(DoubleFP[27]),
                            "m"(DoubleFP[28]), "m"(DoubleFP[29]),
                            "m"(DoubleFP[30]), "m"(DoubleFP[31]));
+#else
+  std::cerr << "ERROR: RUNNING CODE THAT ONLY WORKS ON A SPARCV9 HOST!\n";
+  abort();
 #endif
 }
 
@@ -338,6 +344,9 @@
   DEBUG(std::cerr << "Read i7 (return addr) = "
                   << std::hex << returnAddr << ", value: "
                   << std::hex << *(unsigned*)returnAddr << "\n");
+#else
+  std::cerr << "ERROR: RUNNING CODE THAT ONLY WORKS ON A SPARCV9 HOST!\n";
+  abort();
 #endif
 
   // If we can rewrite the ORIGINAL caller, we eliminate the whole need for a