diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-03-09 06:10:15 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-03-09 06:10:15 +0000 |
commit | 519f4e76b7afe549e3c6a1cec3ccc92b56d7e03f (patch) | |
tree | 6cc5a89ab58472291c28729b0e5339f513799711 | |
parent | bd1c2853e81369d175dcfa0260e479dad8ae15bc (diff) |
Check if printing of implicit uses is required for all types of shift
instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12258 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/Printer.cpp | 3 | ||||
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp index 0ff14f577d..7a3e9b1a70 100644 --- a/lib/Target/X86/Printer.cpp +++ b/lib/Target/X86/Printer.cpp @@ -668,6 +668,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(2)); } + checkImplUses(Desc); O << "\n"; return; } @@ -689,6 +690,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(5)); } + checkImplUses(Desc); O << "\n"; return; } @@ -839,6 +841,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(4)); } + checkImplUses(Desc); O << "\n"; return; } diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 0ff14f577d..7a3e9b1a70 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -668,6 +668,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(2)); } + checkImplUses(Desc); O << "\n"; return; } @@ -689,6 +690,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(5)); } + checkImplUses(Desc); O << "\n"; return; } @@ -839,6 +841,7 @@ void Printer::printMachineInstruction(const MachineInstr *MI) { O << ", "; printOp(MI->getOperand(4)); } + checkImplUses(Desc); O << "\n"; return; } |