From ab7955b9ce3197215406bc9fc97b22074127d035 Mon Sep 17 00:00:00 2001 From: Sirish Pande Date: Wed, 15 Feb 2012 18:52:27 +0000 Subject: Optimize redundant sign extends and negation of predicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150606 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/HexagonAsmPrinter.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Target/Hexagon/HexagonAsmPrinter.cpp') diff --git a/lib/Target/Hexagon/HexagonAsmPrinter.cpp b/lib/Target/Hexagon/HexagonAsmPrinter.cpp index 5402374..4d0c5fa 100644 --- a/lib/Target/Hexagon/HexagonAsmPrinter.cpp +++ b/lib/Target/Hexagon/HexagonAsmPrinter.cpp @@ -125,6 +125,11 @@ namespace { O << -value; } + void printHexagonNOneImmOperand(const MachineInstr *MI, unsigned OpNo, + raw_ostream &O) const { + O << -1; + } + void printHexagonMEMriOperand(const MachineInstr *MI, unsigned OpNo, raw_ostream &O) { const MachineOperand &MO1 = MI->getOperand(OpNo); -- cgit v1.1