There are some Mips instructions that are lowered by the
authorJack Carter <jcarter@mips.com>
Thu, 6 Sep 2012 02:31:34 +0000 (02:31 +0000)
committerJack Carter <jcarter@mips.com>
Thu, 6 Sep 2012 02:31:34 +0000 (02:31 +0000)
commita7570a3d8686a1fe2075b5bee01650490fa52b26
tree530c7f2b4b93179a1890982c6ed329e26ecc0adc
parent557a20a23494c13fbcef90fcc8454f2c8aa33c22
There are some Mips instructions that are lowered by the
assembler such as shifts greater than 32. In the case
of direct object, the code gen needs to do this lowering
since the assembler is not involved.

With the advent of the llvm-mc assembler, it also needs
to do the same lowering.

This patch makes that specific lowering code accessible
to both the direct object output and the assembler.

This patch does not affect generated output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163287 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/CMakeLists.txt
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsDirectObjLower.cpp [new file with mode: 0644]
lib/Target/Mips/MipsDirectObjLower.h [new file with mode: 0644]
lib/Target/Mips/MipsMCInstLower.cpp
lib/Target/Mips/MipsMCInstLower.h