mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Tweak error messages to match GCC. Should fix gcc.target/i386/pr30848.c
llvm-svn: 134193
This commit is contained in:
parent
7a94c43c7a
commit
074d0abb1a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user