diff options
author | Sirish Pande <spande@codeaurora.org> | 2012-02-15 18:22:18 +0000 |
---|---|---|
committer | Sirish Pande <spande@codeaurora.org> | 2012-02-15 18:22:18 +0000 |
commit | 11241abca5e2a313412fed594bb9d9fa2a2057fb (patch) | |
tree | 24522791de9f4ebaf5811a3dab6601375eee4411 /lib/Target/Hexagon/HexagonInstrInfo.h | |
parent | 40d552e0be0ba66a3d8e31bf797f1acba4c91b17 (diff) | |
download | llvm-11241abca5e2a313412fed594bb9d9fa2a2057fb.tar.gz llvm-11241abca5e2a313412fed594bb9d9fa2a2057fb.tar.bz2 llvm-11241abca5e2a313412fed594bb9d9fa2a2057fb.tar.xz |
Optimize redundant sign extends and negation of predicates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonInstrInfo.h')
-rw-r--r-- | lib/Target/Hexagon/HexagonInstrInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonInstrInfo.h b/lib/Target/Hexagon/HexagonInstrInfo.h index 8be1ef3328..1e3ba01e29 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.h +++ b/lib/Target/Hexagon/HexagonInstrInfo.h @@ -163,6 +163,7 @@ public: bool isConditionalALU32 (const MachineInstr* MI) const; bool isConditionalLoad (const MachineInstr* MI) const; bool isDeallocRet(const MachineInstr *MI) const; + unsigned getInvertedPredicatedOpcode(const int Opc) const; private: int getMatchingCondBranchOpcode(int Opc, bool sense) const; |