[llvm-commits] [llvm] r134193 - /llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jun 30 14:30:30 PDT 2011


Author: stoklund
Date: Thu Jun 30 16:30:30 2011
New Revision: 134193

URL: http://llvm.org/viewvc/llvm-project?rev=134193&view=rev
Log:
Tweak error messages to match GCC. Should fix gcc.target/i386/pr30848.c

Modified:
    llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp?rev=134193&r1=134192&r2=134193&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp Thu Jun 30 16:30:30 2011
@@ -1467,13 +1467,13 @@
     }
 
     if (STUses && !isMask_32(STUses))
-      report_fatal_error("Inline asm fixed inputs"
+      report_fatal_error("Inline asm fixed input regs"
                          " must be last on the x87 stack");
     unsigned NumSTUses = CountTrailingOnes_32(STUses);
 
     // Defs must be contiguous from the stack top. ST0-STn.
     if (STDefs && !isMask_32(STDefs))
-      report_fatal_error("Inline asm fixed outputs"
+      report_fatal_error("Inline asm output regs"
                          " must be last on the x87 stack");
     unsigned NumSTDefs = CountTrailingOnes_32(STDefs);
 
@@ -1484,7 +1484,7 @@
     // Popped inputs are the ones that are also clobbered or defined.
     unsigned STPopped = STUses & (STDefs | STClobbers);
     if (STPopped && !isMask_32(STPopped))
-      report_fatal_error("Inline asm popped inputs"
+      report_fatal_error("Inline asm implicitly popped regs"
                          " must be last on the x87 stack");
     unsigned NumSTPopped = CountTrailingOnes_32(STPopped);
 





More information about the llvm-commits mailing list