diff options
author | Jason W Kim <jason.w.kim.2009@gmail.com> | 2010-11-18 23:37:15 +0000 |
---|---|---|
committer | Jason W Kim <jason.w.kim.2009@gmail.com> | 2010-11-18 23:37:15 +0000 |
commit | 837caa9313e1f9480721f232f89f5c7b1b9c9d09 (patch) | |
tree | d80c31fe64ecaafa2fbe74094a5708005fa4332f /utils | |
parent | bd9c77bc9ad384d046a7967d160ad96f61916d9d (diff) | |
download | llvm-837caa9313e1f9480721f232f89f5c7b1b9c9d09.tar.gz llvm-837caa9313e1f9480721f232f89f5c7b1b9c9d09.tar.bz2 llvm-837caa9313e1f9480721f232f89f5c7b1b9c9d09.tar.xz |
Fix .o emission of ARM movt/movw. MCSymbolRefExpr::VK_ARM_(HI||LO)16 for the .o path now works for ARM.
Note: lo16AllZero remains in ARMInstrInfo.td - It can be factored out when Thumb movt is repaired.
Existing tests cover this update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/EDEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp index dd09174c20..ab52e8bd26 100644 --- a/utils/TableGen/EDEmitter.cpp +++ b/utils/TableGen/EDEmitter.cpp @@ -563,6 +563,7 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, REG("QQQQPR"); IMM("i32imm"); + IMM("movt_imm"); IMM("bf_inv_mask_imm"); IMM("jtblock_operand"); IMM("nohash_imm"); |