MC/AsmParser: Attempt to constant fold expressions up-front. This ensures we avoid...
authorDaniel Dunbar <daniel@zuster.org>
Sat, 13 Feb 2010 01:28:07 +0000 (01:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 13 Feb 2010 01:28:07 +0000 (01:28 +0000)
commite9a60eb4987a096df10de0442af1e2929bc32547
treee4bbfd391c97a7ec2fd1b972bd814880a6b1f73e
parent08b85f371e036beb8b07ad58c4f53920be24ad2a
MC/AsmParser: Attempt to constant fold expressions up-front. This ensures we avoid fixups for obvious cases like '-(16)'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96064 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/X86/x86_32-new-encoder.s
test/MC/AsmParser/X86/x86_operands.s
test/MC/AsmParser/conditional_asm.s