This adds the MCInstPrinter to the LLVMHexagonDesc library and removes the dependency LLVMHexagonAsmPrinter had on LLVMHexagonDesc. This is a prerequisite needed by the disassembler.
Diff Detail
Event Timeline
lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp | ||
---|---|---|
159 | Are this changes intended? The description doesn't mention them. |
lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp | ||
---|---|---|
56–57 | OK, will remove both. | |
159 | While troublesome, the assert is intended to keep this routine from being attached to an incorrect insn. The code below is the fix for the actual dependency. isConstExtended is in LLVMHexagonDesc, when the inst printer is registered in that library a circular dependency is formed. |
remove else.