diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-02-07 17:43:06 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-02-07 17:43:06 +0000 |
commit | 09989945e204d3d3434ae9f3392c335b25a1ac84 (patch) | |
tree | 4b226a00466a37ac6ec6115a7ba562fe1339416e /lib | |
parent | 4e97e8ee5748a92326078d744f5fc2b581a7b5b0 (diff) |
Remove inaccurate comments: so_imm and t2_so_imm operands are not encoded
until the instructions are emitted or printed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 5 | ||||
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index bd58fccce7..61a0045bd5 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -407,10 +407,7 @@ def shift_so_reg : Operand<i32>, // reg reg imm } // so_imm - Match a 32-bit shifter_operand immediate operand, which is an -// 8-bit immediate rotated by an arbitrary number of bits. so_imm values are -// represented in the imm field in the same 12-bit form that they are encoded -// into so_imm instructions: the 8-bit immediate is the least significant bits -// [bits 0-7], the 4-bit shift amount is the next 4 bits [bits 8-11]. +// 8-bit immediate rotated by an arbitrary number of bits. def so_imm : Operand<i32>, PatLeaf<(imm), [{ return Pred_so_imm(N); }]> { let EncoderMethod = "getSOImmOpValue"; let PrintMethod = "printSOImmOperand"; diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index a87f09e442..60b6b1b331 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -43,10 +43,7 @@ def t2_so_imm_neg_XFORM : SDNodeXForm<imm, [{ // t2_so_imm - Match a 32-bit immediate operand, which is an // 8-bit immediate rotated by an arbitrary number of bits, or an 8-bit -// immediate splatted into multiple bytes of the word. t2_so_imm values are -// represented in the imm field in the same 12-bit form that they are encoded -// into t2_so_imm instructions: the 8-bit immediate is the least significant -// bits [bits 0-7], the 4-bit shift/splat amount is the next 4 bits [bits 8-11]. +// immediate splatted into multiple bytes of the word. def t2_so_imm : Operand<i32>, PatLeaf<(imm), [{ return Pred_t2_so_imm(N); }]> { let EncoderMethod = "getT2SOImmOpValue"; } |