aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-30 21:30:30 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-30 21:30:30 +0000
commit1bd622132b3915c3cb2b044b4d57a879586bae9f (patch)
treed934b80c9d53f952915efe79a404d385ac6cbc79
parent3c163cfa60f9f196cd6a5a04e07baec3947fee0b (diff)
Tweak error messages to match GCC. Should fix gcc.target/i386/pr30848.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134193 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86FloatingPoint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp
index 3fb5493c24..463cde076a 100644
--- a/lib/Target/X86/X86FloatingPoint.cpp
+++ b/lib/Target/X86/X86FloatingPoint.cpp
@@ -1467,13 +1467,13 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
}
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 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
// 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);