diff options
author | Owen Anderson <resistor@mac.com> | 2010-11-30 22:45:47 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-11-30 22:45:47 +0000 |
commit | 8335e8fa63d770fb35cfe25c2ba1f3ca85c75f0d (patch) | |
tree | 04fba82e505e105e581b1b338d4b4fca9598081e /llvm/utils/TableGen/EDEmitter.cpp | |
parent | 2d3e5c1aec7aefa82cd080bdd6eebbcbb4a360b5 (diff) | |
download | bcm5719-llvm-8335e8fa63d770fb35cfe25c2ba1f3ca85c75f0d.tar.gz bcm5719-llvm-8335e8fa63d770fb35cfe25c2ba1f3ca85c75f0d.zip |
Simplify the encoding of reg+/-imm12 values that allow PC-relative encoding. This allows the
Thumb2 encoding to share code with the ARM encoding, which gets use fixup support for free.
It also allows us to fold away at least one codegen-only pattern.
llvm-svn: 120481
Diffstat (limited to 'llvm/utils/TableGen/EDEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/EDEmitter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/EDEmitter.cpp b/llvm/utils/TableGen/EDEmitter.cpp index fcce3a51c1b..61d4ccdda9e 100644 --- a/llvm/utils/TableGen/EDEmitter.cpp +++ b/llvm/utils/TableGen/EDEmitter.cpp @@ -614,7 +614,6 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type, MISC("it_mask", "kOperandTypeThumbITMask"); // I MISC("t2addrmode_imm8", "kOperandTypeThumb2AddrModeImm8"); // R, I MISC("t2am_imm8_offset", "kOperandTypeThumb2AddrModeImm8Offset");//I - MISC("t2am_imm12_offset", "kOperandTypeThumb2AddrModeImm12Offset");//I MISC("t2addrmode_imm12", "kOperandTypeThumb2AddrModeImm12"); // R, I MISC("t2addrmode_so_reg", "kOperandTypeThumb2AddrModeSoReg"); // R, R, I MISC("t2addrmode_imm8s4", "kOperandTypeThumb2AddrModeImm8s4"); // R, I @@ -841,7 +840,6 @@ static void emitCommonEnums(raw_ostream &o, unsigned int &i) { operandTypes.addEntry("kOperandTypeThumb2SoImm"); operandTypes.addEntry("kOperandTypeThumb2AddrModeImm8"); operandTypes.addEntry("kOperandTypeThumb2AddrModeImm8Offset"); - operandTypes.addEntry("kOperandTypeThumb2AddrModeImm12Offset"); operandTypes.addEntry("kOperandTypeThumb2AddrModeImm12"); operandTypes.addEntry("kOperandTypeThumb2AddrModeSoReg"); operandTypes.addEntry("kOperandTypeThumb2AddrModeImm8s4"); |