summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJason W Kim <jason.w.kim.2009@gmail.com>2010-11-18 23:37:15 +0000
committerJason W Kim <jason.w.kim.2009@gmail.com>2010-11-18 23:37:15 +0000
commit837caa9313e1f9480721f232f89f5c7b1b9c9d09 (patch)
treed80c31fe64ecaafa2fbe74094a5708005fa4332f /utils
parentbd9c77bc9ad384d046a7967d160ad96f61916d9d (diff)
downloadllvm-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.cpp1
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");