diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-30 21:30:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-06-30 21:30:30 +0000 |
commit | 2034261972d3f042c13092aec74abfc8c32f66bd (patch) | |
tree | 3226570ebab8ca6250947fc839f7d97e9cd4d397 /llvm/lib/Target | |
parent | ee481783cbd050f7a3901a8a18c9ff900701c0ac (diff) | |
download | bcm5719-llvm-2034261972d3f042c13092aec74abfc8c32f66bd.tar.gz bcm5719-llvm-2034261972d3f042c13092aec74abfc8c32f66bd.zip |
Tweak error messages to match GCC. Should fix gcc.target/i386/pr30848.c
llvm-svn: 134193
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/X86/X86FloatingPoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index 3fb5493c244..463cde076a3 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/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); |