summaryrefslogtreecommitdiff
path: root/unittests/ADT
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-11 07:06:31 +0000
committerChris Lattner <sabre@nondot.org>2010-02-11 07:06:31 +0000
commit8b0f7a7d8627392c8faae3801cc91689406960cf (patch)
treee41221d70a7711dd6f8c8dfaaca2d7e7ea5fd229 /unittests/ADT
parenta38c707d8219a29f50564c826d2aa3154e214c66 (diff)
downloadllvm-8b0f7a7d8627392c8faae3801cc91689406960cf.tar.gz
llvm-8b0f7a7d8627392c8faae3801cc91689406960cf.tar.bz2
llvm-8b0f7a7d8627392c8faae3801cc91689406960cf.tar.xz
Add and commonize encoder support for all immediates.
Stub out some dummy fixups to make things work. We can now emit fixups like this: subl $20, %esp ## encoding: [0x83,0xec,A] ## fixup A - offset: 2, value: 20, kind: fixup_1byte_imm Emitting $20 as a single-byte fixup to be later resolved by the assembler is ridiculous of course (vs just emitting the byte) but this is a failure of the matcher, which should be producing an imm of 20, not an MCExpr of 20. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT')
0 files changed, 0 insertions, 0 deletions